cf.DomainAncillary.count

DomainAncillary.count()[source]

Count the non-masked elements of the data.

Returns
int

The number of non-masked elements.

Examples:

>>> n = f.count()