{#each labels.slice(0, 2) as label (label.id)}
{label.name}
{/each} {#if labels.length > 2}
+{labels.length - 2}
{/if}