Gets the number of occurrences of an element.
element
int operator [](Object? element) => _container[element] ?? 0;