If one of the birds appears to have two heads in one of the images.
return images ;return birds in  #1 ;return heads of #2 ;return number of  #3 for each  #2 ;return #2 where  #4 is equal to  two ;return number of  #5 for each  #1 ;return #1 where  #6 is equal to  one ;return number of  #7 ;return if  #8 is equal to  one
['select', 'project', 'project', 'group', 'comparative', 'group', 'comparative', 'aggregate', 'boolean']