my solution for the word count problem