If a bird is standing on the back of a forward-facing water buffalo in each image.
return bird ;return water buffalo ;return #2 that is forward-facing ;return back of #3 ;return #1 that is standing on #4 ;return images ;return number of  #5 for each  #6 ;return #6 where  #7 is at least one ;return number of  #6 ;return number of  #8 ;return if  #9 is equal to  #10
['select', 'select', 'filter', 'project', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']