Improve zero count context behavior and tests for ngram.