question: If one image contains a single beagle and a girl in a purple shirt on an agility course.
#1 return beagle 
#2 return girl 
#3 return shirt 
#4 return #3 that is purple 
#5 return #2 that is in  #4 
#6 return #5 that is on an agility course 
#7 return #1 that is with #6 
#8 return images 
#9 return number of  #7 for each  #8 
#10 return #8 where  #9 is equal to  one 
#11 return number of  #10 
#12 return if  #11 is equal to  one