How many races is different distances does Rosehill Guineas compete in? 
CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR)
SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR) Question: How many races is different distances does Rosehill Guineas compete in?  [/INST] SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas" </s>