src/transformers/models/auto/auto_factory.py/_LazyAutoMapping/__len__
class _LazyAutoMapping:    def __len__(self):
        common_keys = set(self._config_mapping.keys()).intersection(self._model_mapping.keys())
        return len(common_keys) + len(self._extra_content)