<mvt:foreach iterator="product" array="category_listing:products">
//POS1 contains the current iteration number of the category_listing:products array
<mvt:foreach iterator="product" array="category_listing:products">
//you would use pos2 here because it is nested within another for each loop
</mvt:foreach>
</mvt:foreach>