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 table_name_31 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
  ### Question:
  How many sales had a peak position of 1 and a certification of 6x platinum?
  ### Answer:
  SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = "6x platinum"