Counts all the lines of a file and counts the real lines: lines that are not blank lines or comments.