Hi @sathish_Kumar6
Change the scope of rowsCount variable from Body to the outer sequence (To forum)