How many Small catagories are there for the department that has a medium of 17101? 
CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR)
SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR) Question: How many Small catagories are there for the department that has a medium of 17101?  [/INST] SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101 </s>