COUNT function

Synopsis
This function returns the number of elements in the source array.
Variations
COUNT(SourceArray)
Returns the number of elements in the array, which corresponds to the index of the last element.
Parameters
SourceArray

Specifies the array to count elements in.

Supported types: Boolean array; Numeric array; String array; Point array; Object array.
Returns
Returned types: Numeric.
Examples
1.

In the following example, the number of elements in the array is 5, so the function returns 5.

COUNT([2, 17, 3, 1, 0])