Fixed wordcount tests to work with Counters.