Add statistical aggregation functions