📊 Statistieken
Boodschappenlijsten: <%= totalLists %>
<% if(lists.length > 0) { %>
Gemiddeld progress:
<%
const avg = lists.length > 0
? Math.round(lists.reduce((sum, l) => sum + (l.checked_count || 0) / (l.item_count || 1), 0) / lists.length * 100)
: 0;
%>
<%= avg %>%
<% } %>