Passing unit tests for stats: aggregate counts, aggregate counts with filters, unique counts.