{* Increment assigned variable *}
{assign var=var value=1}
{capture assign=var}{$var+1}{/capture}
{assign var=val value=1}
{assign var=val value=$val+1}
{* http://stackoverflow.com/questions/8674831/how-do-you-increment-an-assigned-variable-in-smarty-without-displaying-it *}