pyspark.sql.functions.count

pyspark.sql.functions.count(col)

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

New in version 1.3.