code: def deleted_count(self):
          
          if isinstance(self.raw_result, list):
              return len(self.raw_result)
          else:
              return self.raw_result
docs: The number of documents deleted.