(self)
return sum(s.deleted_count() for s in self.segments)
:returns: the total number of deleted documents in the index.
:returns: the total number of deleted documents in the index.
: returns : the total number of deleted documents in the index .
def deleted_count(self):
        """
        :returns: the total number of deleted documents in the index.
        """

        return sum(s.deleted_count() for s in self.segments)
def deleted_count ( self ) : return sum ( s . deleted_count ( ) for s in self . segments )