Modify Aggregator to reduce map size for simple counting