Add StatsTableBuilder::groupBy