rowNumber

Returns the number of the current row within its partition, counting from 1.