{if $routes > 0} {section name=counter loop=$routes}
{/section} {/if}