Iteration 2 of word-count, improves performance