changed aggregated values to float64 and added support for counters/rates