are the objects all made of the same materials
return objects ;return materials of #1 ;return number of  #1 for each #2 ;return the  highest of #3 ;return number of  #1 ;return if #4 is equal to #5
['select', 'project', 'group', 'aggregate', 'aggregate', 'boolean']