Hi Abhijit,
You can get the count/number of elements in a array using below array functions:
1) count()
2) sizeof()
count($urarray) - This function returns the number of elements in an array.
sizeof($array) - This function is an alias of count()
Nov 4, 2009