NumPy

numpy.ma.MaskType.nbytes

attribute

MaskType.nbytes

length of item in bytes