Calculate Aggregate

Calculate an aggregate function for a set of objects.