Added WordCount method