def count_tickets(self):
        return self.engine.execute(self.tickets.count()).fetchone()[0]
Returns the number of tickets.
dataset/ETHPy150Open getlogbook/logbook/logbook/ticketing.py/SQLAlchemyBackend.count_tickets