Dispaying the number of elements in an array