number of elements from an array