cf.CellConnectivity.count — Documentation
Count the non-masked elements of the data.
int
The number of non-masked elements.
Examples
>>> n = f.count()