groupBy - How is the 'freq' parameter used in the groupBy action?