count¶ ColExpr.count( *, partition_by: Col | ColName | str | Iterable[Col | ColName | str] | None = None, filter: ColExpr[Bool] | Iterable[ColExpr[Bool]] | None = None, ) → ColExpr[Int][source]¶ Counts the number of non-null elements in the column.