Is there a way to find out the count of elements of an array?

Code:
var var_tmp[5];
ENTITY* ent_tmp[10];

...

//element count of var_tmp
var elements=??get count of elements of "var_tmp"??;