final int counterValue = currentElement.getCounterValue(name);
return new ResolvedCounterToken(counterToken, counterValue);
}
else if (token instanceof CountersToken)
{
final CountersToken counterToken = (CountersToken) token;
final String name = counterToken.getName();
final IntList counterValues = new IntList(10);
while (currentElement != null)
{
if (currentElement.isCounterDefined(name))
{