question: How many races is different distances does Rosehill Guineas compete in? 
answer: SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas"
context: CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR)