in reply to How do I find the total number of lines in a file?
That's a duplicate answer. See the original about half-way down the list of all answers for this question.
-- Ken