getActiveListingStats(listings: ListingWithCount[]): ActiveListingStats
Get aggregated statistics for active listings. All three values are summed from the precomputed aggregate columns on ListingWithCount (trigger-maintained). Those columns are already in memory from the caller's getAllListings() fetch. No additional DB query is needed.