# How can we know the total number of elements of Array?

Sometimes it might be necessary to know the total number of elements of Array. There is a function that can be used to easily determine that number. In order to find the total number of elements of Array, one can use the count() Function.

The **count()** Function is simple enough, it returns the number of elements in an array.

## Add new comment