cf.Domain.size

Domain.size

The number of locations in the domain.

If there are no domain axis constructs, or any domain axis construct has a size of 0, then the size is 0.