question: If an image shows two beige pups and one black pup.
#1 return pups 
#2 return #1 that are beige 
#3 return #1 that are black 
#4 return images 
#5 return number of  #2 for each  #4 
#6 return #4 where  #5 is equal to  two 
#7 return number of  #3 for each  #6 
#8 return #6 where  #7 is equal to  one 
#9 return number of  #8 
#10 return if  #9 is at least one