Return the number of occurrences of a given value.
Uses numerically tolerant equality where appropriate.
The value to count.
The number of occurrences of value.
Examples
>>> s [1, 2, 3, 2, 4, 2] >>> s.count(1) 1 >>> s.count(2) 3
cf.FieldList.copy
cf.FieldList.delprop
Enter search terms or a module, class or function name.