If an image shows exactly two collie dogs posed outdoors, with one reclining at the left of a dog sitting upright.
return collie dogs ;return #1 that are posed outdoors ;return #2 that are reclining ;return #2 that is sitting upright ;return #3 that is at the  left of #4 ;return images ;return number of  #1 for each  #6 ;return #6 where  #7 is equal to  two ;return number of  #5 for each  #8 ;return #8 where  #9 is equal to  one ;return number of  #10 ;return if  #11 is at least one
['select', 'filter', 'filter', 'filter', 'filter', 'select', 'group', 'comparative', 'group', 'comparative', 'aggregate', 'boolean']