cycquery.ops.CountΒΆ class Count(col)[source]ΒΆ Bases: QueryOp Count the number of rows. Parameters: col (str) β Column to count. Examples >>> Count("person_id")(table) Methods __call__(table)[source]ΒΆ Process the table. Parameters: table (Union[Select, Subquery, Table, DBTable]) β Table on which to perform the operation. col β Column to count. Returns: Processed table. Return type: sqlalchemy.sql.selectable.Subquery