If each image contains two pads and no other items, and one pair of pads faces directly forward.
return images ;return pads in  #1 ;return items in  #1 ;return #3 besides  #2 ;return number of  #2 for each  #1 ;return number of  #4 for each  #1 ;return #1 where  #5 is equal to  two ;return #1 where  #6 is equal to  zero ;return #1 in  both  #7 and #8 ;return number of  #9 ;return number of  #1 ;return if  #10 is equal to  #11 ;return #2 that face directly forward ;return number of  #13 ;return if  #14 is equal to  two ;return if  both  #12 and #15 are true
['select', 'project', 'project', 'discard', 'group', 'group', 'comparative', 'comparative', 'intersection', 'aggregate', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']