Counting characters words and lines