Counter object for word count