Aggregate Functions
The following aggregate functions are available for working with related content:
/*
Returns the total number of items in the array
Will work for any items, including an array of mixed elements
*/
COUNT()
/*
Returns the minimum item in the array
Will work for numeric items or dates
You can mix and match integers with decimals
*/
MIN()
/*
Returns the maximum item in the array
Will work for numeric items or dates
You can mix and match integers with decimals
*/
MAX()
/*
Returns the total of items in the array
Will work for numeric items only
You can mix and match integers with decimals
*/
SUM()