split metrics into counters and gauges