Word frequency aggregator works