getActiveEventStats(events: EventWithCount[]): Promise<ActiveEventStats>
Get aggregated statistics for active events. Filters active events from the provided list, computes attendees (sum of quantities) from cached EventWithCount data, and queries ticket count and income (sum of price_paid) via a single aggregate.
events: EventWithCount[]
Promise<ActiveEventStats>