counter function
counter saves the current count value for each count.
Users can adjust this value by adjusting interval and direction.
You can also decide whether to output this value. If you need to run multiple counters at the same time, you must specify different names for them.
If no name is specified, the template engine uses "default" as the default value.
If the special attribute "assign" is specified, the output value of the counter will be assigned to the template variable specified by assign instead of being output directly.
eg :
{counter start=0 skip=2 print=false}
{counter}<br>
{counter}<br>
{counter }<br>
{counter}<br>
Output:
2<br>
4<br>
6<br>
8<br>