How many dorms are there and what is the total capacity for each gender?
return dorms ;return number of #1 ;return gender of  #1 ;return total capacity of  #1 for each #3 ;return #2 ,   #4
['select', 'aggregate', 'project', 'group', 'union']