IQVIA Interview Question

How to count the number of elements in an array?