adding the wordcounter