larray.Array.size

property Array.size: int

Return the number of elements in array.

Returns
int

Number of elements in array.

Examples

>>> a = ndtest('sex=M,F;type=type1,type2,type3')
>>> a.size
6