CRV - item.index not working

In reply to dave_59:

This is the output i get

'{'h1, 'h1, 'h1, 'h1, 'h1, 'h4, 'h8, 'h1}

index 5 is not 6 nor the sum is 20