building dictionary with word count after ngram words