If every picture has more than 6 pigs
return pictures ;return pigs in  #1 ;return number of #2 for each #1 ;return #1 where #3 is  higher than 6 ;return number of #4 ;return number of #1 ;return if  #5 is  equal to #6
['select', 'project', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']