This image shows the Design Panel and how to add the Aggregation function.