def __len__(self):
        self._lookup()
        return len(self._toc)
Return a count of messages in the mailbox.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_singlefileMailbox.__len__