These docs are for v1.0. Click to read the latest docs for v1.2.

COUNT

Counts the number of elements in the specified array.

Syntax

=COUNT(value)

Arguments

ArgumentTypeDescription
valueArrayAn array of values to count

Examples

=COUNT([1,2,3])3
Counts the number of arguments (1, 2, and 3), which is equal to 3

=COUNT(children)6
Counts all of the children on the current shape, in this case the selected shape is a group with 6 shapes in it.

=COUNT(children."Property 2")4
Counts all children's data property values that have a value for "Property 2" (10, 18, 13, 14).