Skip to main content Skip to complementary content


Returns the number of elements in an array.

Null values are not counted.


Array to count.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!