Checking number of elements in Python's `Counter`,sum(counter.values())