If there are pugs with harnesses on
return pugs ;return harnesses ;return #1 that have on #2 ;return the  number of  #3 ;return if  #4 is at least one
['select', 'select', 'filter', 'aggregate', 'boolean']