How many years were the events won by KCLMS less than 7?
CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER)
SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER) Question: How many years were the events won by KCLMS less than 7? [/INST] SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7 </s>