If all dogs are wearing fancy, colorful collars.
return dogs ;return collars of #1 ;return #2 that are colorful ;return #3 that are fancy ;return #1 that has #4 ;return number of  #1 ;return number of  #5 ;return if  #6 is equal to  #7
['select', 'project', 'filter', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean']