Table: octagonal_race_results
Columns: result
date
race
venue
group
distance
weight_kg
jockey
winner_2nd

Question: How many races is different distances does Rosehill Guineas compete in? 
SQL: SELECT COUNT("distance") FROM octagonal_race_results WHERE "race" = 'Rosehill Guineas'