OK, I get it now 
For paginated results the k_count variable only keeps count of the pages displayed on the current page.
It is the k_absolute_count variable that we'd be interested in as this keeps increasing across paginated results and finally becomes equal to k_total_records for the very last record.
So, our modified code for cloned pages would become -
Hope this helps.

For paginated results the k_count variable only keeps count of the pages displayed on the current page.
It is the k_absolute_count variable that we'd be interested in as this keeps increasing across paginated results and finally becomes equal to k_total_records for the very last record.
So, our modified code for cloned pages would become -
- Code: Select all
<cms:if my_count='2' || k_absolute_count=k_total_records>
</div>
</cms:if>
Hope this helps.