count() Function

Returns the number items in all arrays passed to the function. Null parameters are also counted.

Syntax

count( [value, …] )

value: (Any Type Array) An element or set of elements to be counted.

Returns

Number

Examples

You can experiment with this function in the test box below.

Test Input

count(1,2,3,4) returns 4

FEEDBACK