aggregation summarizes every record with count, sum, avg, min and max