cf.List.count

List.count()[source]

Count the non-masked elements of the data.

Returns
int

The number of non-masked elements.

Examples

>>> n = f.count()