If all chihuahuas pictured are wearing at least collars, and each image includes at least one standing chihuahua.
return images ;return chihuahuas in  #1 ;return #2 that are standing ;return number of  #3 for each  #1 ;return #1 where  #4 is at least one ;return number of  #5 ;return number of  #1 ;return if  #6 is equal to  #7 ;return collar ;return #2 wearing #9 ;return number of  #2 ;return number of  #10 ;return if  #12 is equal to  #11 ;return if  both  #13 and #8 are true
['select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean']