Policies & Guidelines

COUNT

Size of an array

Description

Returns the number of items in the given array.

For measuring the length for a string, use LENGTH instead.

Function signature

COUNT(array: Array) => Number

Parameter

Description

Array

Array whose items to count

Examples

Formula

Return value

COUNT([1, 2, 3])

3

COUNT([])

0