(self)
return len(self._toc)
Return a count of messages in the mailbox.
Return a count of messages in the mailbox.
Return a count of messages in the mailbox .
def __len__(self):
        """Return a count of messages in the mailbox."""
        self._refresh()
        return len(self._toc)
def __len__ ( self ) : self . _refresh ( ) return len ( self . _toc )