denseRank

open fun denseRank(): DenseRank

Returns the rank of the current row, without gaps; this function effectively counts peer groups.