If in at least one image there are three people at the bar looking at a television.
return images ;return people in  #1 ;return the  bar in  #1 ;return #2 at #3 ;return television in  #1 ;return #4 looking at #5 ;return number of  #6 for each  #1 ;return #1 where  #7 is equal to  three ;return number of  #8 ;return if  #9 is at least one
['select', 'project', 'project', 'filter', 'project', 'filter', 'group', 'comparative', 'aggregate', 'boolean']