adds word count methods