Non working version of word count