If there are at least 2 dogs lying on the ground and facing right.
return dogs ;return the  ground ;return #1 lying on #2 ;return #3 that are  facing right ;return number of #4 ;return if  #5 is  at least two
['select', 'select', 'filter', 'filter', 'aggregate', 'boolean']