Holding aggregation results in parameters