If an image contains exactly three safety pins, including two with white duck-shaped heads.
return images ;return safety pins in  #1 ;return head of #2 ;return #2 where  #3 is white ;return #2 where  #3 is duck-shaped ;return #2 in  both  #4 and #5 ;return number of  #2 for each  #1 ;return number of  #6 for each  #1 ;return #1 where  #7 is equal to  three ;return #1 where  #8 is equal to  two ;return #1 in  both  #9 and #10 ;return number of  #11 ;return if  #12 is equal to  one
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'group', 'group', 'comparative', 'comparative', 'intersection', 'aggregate', 'boolean']