Filtering out ngrams with count limit.