Computing Aggregates Over a Collection

You can easily compute the count, sum, minimum, or maximum of items in a collection. This section describes how to use these four collection functions.