{if count($item->list)} {foreach from=$item->list item='categories' name='categories' key="year"}
{$row.photoCount} photo{if $row.photoCount > 1}s{/if}