E.g if your template does `<#list record.item a...
# advancedpdf
m
E.g if your template does
<#list record.item as item>
then you can get the current line number with
${item?index + 1}