Get aggregate contact stats for the tenant
Contacts
Get aggregate contact stats for the tenant
Return the authoritative per-tenant contact summary the dashboard header cards read: total, active, leads, newThisMonth (with the newThisMonthSince cut-off) and optedOut. Computed server-side in a single aggregate pass so the totals stay correct across every page, unlike a client-side reduce over only the loaded list. Honours the same optional list filters (search, segment_label, has_custom_field) so the cards reflect the same subset the list is showing.