Calculating position

Task

Source document

Your are at the green marked position

<artist name="Robbie Williams">
  <cd name="Rudebox"> 
    <title>Rudebox</title>
    <title>Viva Life On Mars</title>
    <title>Lovelight (Lewis Taylor Cover)</title>
    <title>King Of The Bongo (Manu Chao Cover)</title>
    <title>Swing when you're winning</title>
    <title>Good Doctor</title>
  </cd> 
</artist>

Challenge

Calculate the title number using its position.

Desired selection (text output)

5

Exercise

Your input

Eine Lösung wäre: Lösung