For each main industry, what is the total number of companies for the industry with the highest total market value?
return main industries ;return companies of #1 ;return market values of #2 ;return sum of #3 for each #1 ;return #1 where #4 is  highest ;return companies of #5 ;return number of  #6
['select', 'project', 'project', 'group', 'superlative', 'project', 'aggregate']