fix WordCount example