The correct answer is three. Thomas Stafford flew three types of spacecraft in his career: the Gemini, Apollo, and Space Shuttle. He was the only person to have flown all three types of spacecraft.
Beyond the Stratosphere: Thomas P. Stafford's Astronautic Odyssey