Python: Sum of all counts in a collections - w3resource
Python Collections - Counter and defaultdict - YouTube
AssemblyAI on Twitter: "Python NumPy Tip: If you need to count the number of occurrences of each value in an array, you can use numpy.bincount instead of collections.Counter. bincount is much faster:
Python Collections Counter: Explained with 5 Examples