how many times is the rank less than 6, certification 2x platinum and the peak position 2?
CREATE TABLE table_name_49 (sales VARCHAR, peak_position VARCHAR, rank VARCHAR, certification VARCHAR)
SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2" </s>