If each image shows one goose, and in one image the goose is on water and posed with its neck curved back.
return goose  ;return images of  #1 ;return number of #1 for each #2 ;return #2 where #3 is  equal to one  ;return number of #4 ;return number of #2 ;return If #5 is  equal to #6 ;return water ;return #1 that is  on #8 ;return neck of  #9 ;return #10 that is  curved back ;return number of #11 ;return If #12 is  equal to one  ;return If both  #7 and #13 are  true
['select', 'project', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'filter', 'project', 'filter', 'aggregate', 'boolean', 'boolean']