Program to count the number of lines in a file using LineNumberReader