Now caching discount and nGramTimesCount values.