S-Docs: Auto Generating Line Item Number

When developing document template using S-Docs that generates a related list (i.e. Opportunity Line Items), it is quite common that you are required to include the line item number/count.

In S-Docs, you can easily achieve this by including the <column>rownum</column> syntax in the related list table.

A simple example of the auto-generated count using the rownum parameter: