Loops

$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

All functions