question: If one image contains fewer than 3 pugs, and all pugs are on a leash.
#1 return pugs 
#2 return leash 
#3 return #1 that are on #2 
#4 return images 
#5 return the  number of  #1 for each  #4 
#6 return #4 where  #5 is lower than 3 
#7 return the  number of  #6 
#8 return if  #7 is equal to  one 
#9 return the  number of  #1 
#10 return the  number of  #3 
#11 return if  #9 is equal to  #10 
#12 return if  both  #8 and #11 is true