cf.DomainAncillary.count¶
-
DomainAncillary.count(x)[source]¶ - Emulate
- f.count(x)
Equality is tested with the domain ancillary’s
cf.DomainAncillary.equalsmethod (as opposed to the==operator).Note that
f.count(x)is equivalent to1 if f.equals(x) else 0.