What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4?
CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_22 WHERE manufacturer = "ktm" AND time_retired = "+3.578" AND grid > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) Question: What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4? [/INST] SELECT COUNT(laps) FROM table_name_22 WHERE manufacturer = "ktm" AND time_retired = "+3.578" AND grid > 4 </s>