<% if (total) { %> <%= remaining %> <%= remaining <= 1 ? itemSingular : itemPlural %> <%= itemsLeft %> <% } %> <% if (completed) { %> <% } %>