Roll up and combine counter stats

To allow lighter-weight measuring very frequent events counter stats
with the same name will now be combined (and summed) when auto-flushing
is paused.