Added WordCount implementation and tests