pub fn count_if(col: &Column) -> Column
Count rows where condition is true (PySpark count_if). Use in groupBy.agg(); column should be boolean (true=1, false=0).