Updated the example solution for the word count exercise