Around 30.
You pick four for your active team at a time, so the roster size is about replayability rather than party size. The exact count varies slightly depending on which version and platform you are playing, since some characters were tied to specific releases.