Besides the soldiers  and captains how many of the other ranks were there?
return ranks ;return #1 that is soldier ;return #1 that is captain ;return #1 Besides #2 ;return #4 Besides #3 ;return number of  #5
['select', 'filter', 'filter', 'filter', 'filter', 'aggregate']