how to know the number of element in array?
thx!!