If the combined images include at least three piglets standing on all fours, and all piglets are near a standing adult pig.
return piglets  ;return #1 that are  standing  on all fours ;return number of #2 ;return If #3 is  at least three ;return pig ;return #5 that is  adult ;return #6 that is  standing  ;return #1 that are  near #7 ;return number of #8 ;return number of #1 ;return If #9 is  equal to #10 ;return If both  #4 and #11 are  true
['select', 'filter', 'aggregate', 'boolean', 'select', 'filter', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean']