Five. Every stage in Sonic Heroes is graded from A down to E:
A, B, C, D and E.
An A rank is where the challenge lives. You either need a very high score or an extremely fast clear, often something in the region of five to seven minutes depending on the stage, and both routes demand that you keep your team's speed up rather than playing it safe.