# xarray.Variable.size

#### *property* Variable.size

Number of elements in the array.

Equal to `np.prod(a.shape)`, i.e., the product of the array’s dimensions.

#### SEE ALSO
[`numpy.ndarray.size`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.size.html#numpy.ndarray.size)
