count

StringColumn.count(alias='new_column')

COUNT aggregation.

Args:

alias (str): Name for the new column.