now creates and maintain a global word count in addition to the buffer -> word count