code: def get_users(self):
          
          no_users = Token.query.filter_by(
              client_id=self.client_id,
              is_personal=False,
              is_internal=False
          ).count()
          return no_users
docs: Get number of users.