If a dog with upright ears is bounding across the sand, and the ocean is visible in at least one image.
return dog ;return #1 that is  with  upright ears ;return sand ;return #2 that is  bounding across #3 ;return images of  #4 ;return ocean ;return #5 where #6 is  visible ;return number of #7 ;return If #8 is  at least one
['select', 'filter', 'select', 'filter', 'project', 'select', 'comparative', 'aggregate', 'boolean']