count

Edit page Last modified: 14 January 2025

Counts the number of rows.

Pass a row condition to count only the number of rows that satisfy that condition:

When count is used in groupBy or pivot aggregations, it counts rows for every data group: