If there are two people in every image wearing graduation caps.
return people ;return graduation caps ;return #1 wearing #2 ;return images of #3 ;return number of  #3 for each  #4 ;return #4 where  #5 is equal to  two ;return images ;return number of  #6 ;return number of  #7 ;return if  #8 is equal to  #9
['select', 'select', 'filter', 'project', 'group', 'comparative', 'select', 'aggregate', 'aggregate', 'boolean']