Access index inside a <Each /> tag

Suppose I want to do a numbered list.

If I could write:

<StackPanel>
    <Each Items="{array}">
        <WrapPanel>
            <Text Value="{i}"/>
            <Text Value=". "/>
            <Text Value="{}"/>
        </WrapPanel>
    </Each>
</StackPanel>

and get an output like:

1. Value One
2. Value Two
3. Value Three

OR

<StackPanel>
    <Each Count="3">
        <Text Value="{i}"/>
    </Each>
</StackPanel>

and get:

1
3
2

Some simple tasks could be achieved without JS. Thanks!

Ops, found a typo on the last output. 1,2,3 is the correct.