def __len__(self):
        return self._page.paginator.num_pages
The length of the sequence is the total number of pages.
dataset/ETHPy150Open shtalinberg/django-el-pagination/el_pagination/models.py/PageList.__len__