If that works I am guessing you want to change the...
# advancedpdf
m
If that works I am guessing you want to change the condition to multiples of 10 (
item?counter % 10 == 0
)