cf.FieldAncillary.count

FieldAncillary.count()[source]

Count the non-masked elements of the array.

Examples 1:
>>> n = f.count()
Returns:out: int