question: If an image contains exactly three safety pins, including two with white duck-shaped heads.
#1 return images 
#2 return safety pins in  #1 
#3 return head of #2 
#4 return #2 where  #3 is white 
#5 return #2 where  #3 is duck-shaped 
#6 return #2 in  both  #4 and #5 
#7 return number of  #2 for each  #1 
#8 return number of  #6 for each  #1 
#9 return #1 where  #7 is equal to  three 
#10 return #1 where  #8 is equal to  two 
#11 return #1 in  both  #9 and #10 
#12 return number of  #11 
#13 return if  #12 is equal to  one