Word counter using collections.Counter