Counting words and exploring results