question: If an image shows wine bottle, glass, grapes and green leaves.
#1 return wine bottle 
#2 return glass 
#3 return grapes 
#4 return leaves 
#5 return #4 that are green 
#6 return images of #1 
#7 return images of #2 
#8 return images of #3 
#9 return images of #5 
#10 return images 
#11 return #10 in  both  #6 and #7 
#12 return #10 in  both  #8 and #9 
#13 return #10 in  both  #11 and #12 
#14 return number of  #13 
#15 return if  #14 is equal to  one