<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_all(self, *args, **kwargs):
 """Deletes objects that match a set of conditions supplied. This method forwards filters directly to the repository. It does not instantiate entities and it does not trigger Entity callbacks or validations. Returns the number of objects matched and deleted. """

        deleted_item_count = 0
        repository = repo_factory.get_repository(self._entity_cls)
        try:
            deleted_item_count = repository.delete_all(self._criteria)
        except Exception:
            # FIXME Log Exception
            raise

        return deleted_item_count