If the same number of phones, each sporting a distinct color design, is in each image.
return phones ;return color designs of #1 ;return #1 where  #2 is the  same ;return number of  #3 ;return if  #4 is equal to  zero ;return images ;return number of  #1 for each  #6 ;return #6 where  #7 is the  same ;return number of  #6 ;return number of  #8 ;return if  #9 is equal to  #10 ;return if  both  #11 and #5 are true
['select', 'project', 'comparative', 'aggregate', 'boolean', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'boolean']