A
really bad way to count is:
Count how many there aren't and subtract it from infinity
{for n in topnav} {if n_index == 0}
${sitename}
${n.title}
{/if} {if n.text == topnav_selected}
${n.text}
{else}
${n.text}
{/if} {forelse}{/for}
{for n in leftnav}
${n.text}
{forelse}{/for}