I came across this module and I wonder why I would use it.
You can just use list.count to count elements in iterables.
You can just use list.count to count elements in iterables.
c = Counter(['egg', 'ham'])
print(c['bacon'])
d = ['egg', 'ham']
print(d.count("bacon"))I'd like to be more informed on this.
