If there are exactly six tan and black nosed pugs along side two predominately black dogs.
return pugs ;return #1 that are tan ;return #2 that are black nosed ;return dogs ;return #4 that are predominately black ;return number of  #5 ;return if  #6 is equal to  two ;return #3 that are along side #5 ;return number of  #8 ;return if  #9 is equal to  six ;return if  both  #10 and #7 are true
['select', 'filter', 'filter', 'select', 'filter', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']