If all short-legged dogs are standing alert on some grass.
return dogs ;return #1 that are  short-legged ;return #2 that are  standing alert ;return grass ;return #3 that are  on #4 ;return number of #5 ;return number of #2 ;return if  #6 is  equal to #7
['select', 'filter', 'filter', 'select', 'filter', 'aggregate', 'aggregate', 'boolean']