If every image shows at least four devices and all screens show an image.
return devices ;return screens of #1 ;return #2 that show an image  ;return images ;return number of  #1 for each  #4 ;return #4 where  #5 is at least four ;return number of  #4 ;return number of  #6 ;return if  #7 is equal to  #8 ;return number of  #3 ;return number of  #2 ;return if  #11 is equal to  #10 ;return if  both  #9 and #12 are true
['select', 'project', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'aggregate', 'aggregate', 'boolean', 'boolean']