GROUP BY and the how-many-ballparks question