Counts lines, characters and words in a text file