pyspark.sql.functions.count

pyspark.sql.functions.count(col)[source]

Aggregate function: returns the number of items in a group.

New in version 1.3.