add measure aggregations to model