added age aggregation function, aggN()