If each image contains one black frontward-facing dog, and one of the dogs pictured has its pink tongue showing.
return images ;return dogs in  #1 ;return #2 that are black ;return #3 that are frontward-facing ;return number of  #4 for each  #1 ;return #1 where  #5 is equal to  one ;return number of  #6 ;return number of  #1 ;return if  #7 is equal to  #8 ;return pink tongue of #2 ;return #2 where  #10 is showing ;return number of  #11 ;return if  #12 is equal to  one ;return if  both  #9 and #13 are true
['select', 'project', 'filter', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']