If the right image contains at least two dogs laying down on a couch.
return right image ;return dogs in  #1 ;return couch in  #1 ;return #2 that are laying down on #3 ;return number of  #4 ;return if  #5 is at least two
['select', 'project', 'project', 'filter', 'aggregate', 'boolean']