glpi: Fix sqlalchemy count