If there are exactly three baboons with visible faces.
return baboons ;return faces of #1 ;return #1 where  #2 are visible ;return the  number of  #3 ;return if  #4 is equal to  three
['select', 'project', 'comparative', 'aggregate', 'boolean']