Array Size

Returns the number of elements in each dimension of array. The connector pane displays the default data types for this polymorphic function.

array can be an n-dimensional array of any type.
size(s) is a long integer if array is one-dimensional (1D). If array is multidimensional, the returned value is a 1D array in which each element is a long integer representing the number of elements in the corresponding dimension of array. For example, a 3-D array with two rows, three columns, and four pages has the following output array.