For each city, how many branches opened before 2010?
SELECT city ,  count(*) FROM branch WHERE open_year  <  2010 GROUP BY city
SELECT city ,  count(*) FROM branch WHERE open_year  <  2010 GROUP BY city
[{'City': 'London', 'count(*)': 2}, {'City': 'Oxford', 'count(*)': 2}]