I'm using the lineno package to print line numbers (each page starts with number one) in the draft of my document:
\usepackage[switch*, pagewise]{lineno}
Is there a way to read out the number of lines in the whole document (or even per chapter) from one of the aux files?
I do only want to count the "real" text lines, not the headers and footers, so a sum of all the linenumbers would be quite useful. (Even if also floats are counted as one line each.)