If each image shows exactly one pair of gloves, and all gloves have fingers.
return pair of gloves  ;return images ;return number of  #1 for each  #2 ;return #2 where  #3 is equal to  one ;return number of  #2 ;return number of  #4 ;return if  #5 is equal to  #6 ;return #1 that have fingers ;return number of  #1 ;return number of  #8 ;return if  #9 is equal to  #10 ;return if  both  #7 and #11 are true
['select', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean']