bigram counter working properly