% if (authenticated) { %> <% if (notifications.length) { %> <%= notifications.length %> <% } %> <% } %>