CREATE TABLE table_24217 ("Department" TEXT, "Micro  ( 10ha ) " FLOAT, "Small  ( 100ha ) " FLOAT, "Medium  ( 500ha ) " FLOAT, "Big  ( >500ha ) " FLOAT, "Total" FLOAT)

How many Small catagories are there for the department that has a medium of 17101?
SELECT COUNT("Small (100ha)") FROM table_24217 WHERE "Medium (500ha)" = '17101'
SELECT COUNT("Small (100ha)") FROM "table_24217" WHERE "Medium (500ha)" = '17101'