text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)
  ### Question:
  List the main industry with highest total market value and its number of companies.
  ### Answer:
  SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1