def _count_elements_slow(mapping, iterable):
    """Put elements from `iterable` into `mapping`."""
    mapping_get = mapping.get
    for element in iterable:
        mapping[element] = mapping_get(element, 0) + 1
