If i declare an Array of variable length and i store some data in it but i don't know how many datas i stored.

While the Array has datas in it how do i find out it's length?