{#each mediaTypes as mediaType (mediaType.key)}

{mediaType.label}

{total(mediaType.key).toLocaleString()} total
Process stage Pending Done Errors {#each stagesFor(mediaType.key) as stage (stage.key)} {stage.label} {count(stage.key, mediaType.key, 'queued')} {count(stage.key, mediaType.key, 'completed')} {count(stage.key, mediaType.key, 'errors')} {/each}
{/each}