Show the city and the number of branches opened before 2010 for each city.
return cities ;return branches in #1 ;return #2 that  opened before 2010 ;return number of  #3 for each  #1 ;return #1 ,  #4
['select', 'project', 'filter', 'group', 'union']