numpy.ma.MaskType.size

attribute

ma.MaskType.size

The number of elements in the gentype.