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_49 (sales VARCHAR, peak_position VARCHAR, rank VARCHAR, certification VARCHAR)
  ### Question:
  how many times is the rank less than 6, certification 2x platinum and the peak position 2?
  ### Answer:
  SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2"