user: Question: How many races is different distances does Rosehill Guineas compete in? 
Columns: ['Result', 'Date', 'Race', 'Venue', 'Group', 'Distance', 'Weight (kg)', 'Jockey', 'Winner/2nd']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['2nd', '2 Sep 1995', 'Roman Consul Stakes', 'Randwick', 'G3', '1200 m', '55', 'G. Cooksley', '1st - Our Maizcay']
SQL:

assistant: SELECT COUNT("Distance") FROM "Table" WHERE "Race" = 'Rosehill Guineas';