code: def count(self, *columns):
          
          if not columns and self.distinct_:
              columns = self.columns
  
          if not columns:
              columns = ["*"]
  
          return int(self.aggregate("count", *columns))
docs: Retrieve the "count" result of the query
  
          :param columns: The columns to get
          :type columns: tuple
  
          :return: The count
          :rtype: int