Show the city and the number of branches opened before 2010 for each city.
select city, count(*) from branch where open_year < 2010 group by city