Aggregating counters in an object literal

Easy to stitch counters to rawdata data structure.