pravin1581 wrote: INROWNUM is not giving the total row count but incremental count.
Stick in an agregator at the end and group on a static field (if not present create one) and specify LAST for the INROWNUM column to get the last record which will be the rowcount.