I got at simular problem like Sørens Schou, in my case I have digit on both side of the wanted digit.
it look like this:
0100171350104015 - i want to count the red marked digit. = ****1713501040**
How do I do it? Not like below or is it something in that direction........
count ({<AAR={$(vPreviousYear)},item1={'0100171350104015'}>}item2)
Best regards
Jesper