Count(val=None, weight=1, contents=None)[source]¶
- val – If None, initialize with 0. i.e., not counted. Otherwise, typically an empty tuple, counted with the weight. Ignored if contents are given.
- weight (float) – The weight
- contents – Specified contents unless None
__init__([val, weight, contents])