def slowlog_len(self):
        "Get the number of items in the slowlog"
        return self.execute_command('SLOWLOG LEN')
Get the number of items in the slowlog
stackoverflow/venv/lib/python3.6/site-packages/redis/client.py