[python] Counting lines, words, and characters within a text file using Python