question: If an image shows just one dog on green grass.
#1 return images 
#2 return dogs in  #1 
#3 return grass in  #1 
#4 return #3 that is green 
#5 return #2 on #4 
#6 return number of  #5 for each  #1 
#7 return #1 where  #6 is equal to  one 
#8 return number of  #7 
#9 return if  #8 is equal to  one