calculate sum and count of all aggregated gauges