How to get the Current Row count in the GridAdd

In previous PHPMaker
I use to get the current row count in the Row_Rendering as
CurrentPage()->RowCntBut it is not working in PHPMaker 2020

Try changing RowCnt to RowCount