question: If an image shows exactly two black beetles by one dung ball.
#1 return images 
#2 return beetles in  #1 
#3 return #2 that are black 
#4 return dung ball in  #1 
#5 return #3 by #4 
#6 return number of  #5 for each  #1 
#7 return #1 where  #6 is equal to  two 
#8 return number of  #7 
#9 return if  #8 is equal to  one