$itemIndex
Inside $forEach: where the current item is in the list, counted from 1.
Example
$forEach[gold, silver, bronze]
$itemIndex. $item
$endforEach
1. gold 2. silver 3. bronze
$itemIndexInside $forEach: where the current item is in the list, counted from 1.
$forEach[gold, silver, bronze]
$itemIndex. $item
$endforEach
1. gold 2. silver 3. bronze