Finally count_ngrams works properly.