If each image shows exactly two birds within a cage.
return images ;return birds in  #1 ;return cage in  #1 ;return #2 within #3 ;return number of  #4 for each  #1 ;return #1 where  #5 is equal to  two ;return number of  #6 ;return number of  #1 ;return if  #7 is equal to  #8
['select', 'project', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']