JDBI-like interface for breaking out stats by multiple values