If each image contains exactly one spaniel, and only the dog on the right is posed on real grass.
return spaniels ;return images ;return number of #1 for each #2 ;return #2 where #3 is  equal to one ;return number of #2 ;return number of #4 ;return If #5 is  equal to #6 ;return #1 that is  on the  right ;return grass ;return #9 that is  real ;return #1 that is  posed on #10 ;return #11 besides  #8 ;return number of #12 ;return If #13 is  equal to zero ;return If both  #7 and #14 are  true
['select', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'select', 'filter', 'filter', 'discard', 'aggregate', 'boolean', 'boolean']