TEZ-652. Make OrderedWordCount do grouping in the AM (bikas)