Metric types and aggregations