I believe it was #11.
On the Apollo lunar missions, the Lunar Module (a separate vehicle) left the Apollo spacecraft orbiting the moon and landed. The upper half of the Lunar Module had a rocket engine capable of launching it back into orbit where it again joined the Apollo spacecraft. The crew then reentered the Apollo for their return to Earth.
Apollo 7 was to test the new Apollo spacecraft after the fire. Apollo 9 was to test the lunar module in earths orbit.
The Apollo 7 was a trial of the new spacecraft built after the fire, and Apollo 9 tried the lunar module in earth orbit.
1. Apollo 7: Low Earth Orbit 2. Apollo 8: Lunar Orbit 3. Apollo 9: Low Earth Orbit 4. Apollo 10: Lunar Orbit 5. Apollo 11: Lunar Landing 6. Apollo 12: Lunar Landing 7. Apollo 13: Lunar flyby (aborted landing) 8. Apollo 14: Lunar Landing 9. Apollo 15: Lunar Landing 10. Apollo 16: Lunar Landing 11. Apollo 17: Lunar Landing
lunar orbit
The Apollo 9 was the first to test a lunar module in space. Apollo 10 tested the lunar module in lunar orbit.
The first manned spacecraft to orbit the moon was the Apollo 8 spacecraft.
Apollo 8 was the first spacecraft to orbit the moon.
The Apollo 8 spacecraft was the first spacecraft to orbit the moon and then return safely to earth.
Michael Collins stayed in lunar orbit while Neil Armstrong and Buzz Aldrin walked on the moon.
There were a total of 19 Apollo missions: Apollo-1A : Unmanned suborbital flight Apollo - 2 : Unmanned orbital flight Apollo - 3 : Unmanned suborbital flight Apollo - 1 : Manned orbital mission, cancelled due to fatal accident. Apollo - 4 : Unmanned orbital flight Apollo - 5 : Unmanned orbital flight Apollo - 6 : Unmanned orbital fligth Apollo - 7 : Manned orbital mission Apollo - 8 : Manned lunar orbit mission Apollo - 9 : Manned orbital mission Apollo -10 : Manned lunar orbit mission Apollo- 11 : Lunar Landing mission Apollo- 12 : Lunar Landing mission Apollo- 13 : Lunar Landing mission, aborted due to accident Apollo- 14 : Lunar Landing mission Apollo- 15 : Lunar Landing mission Apollo- 16 : Lunar Landing mission Apollo- 17 : Lunar Landing mission Apollo -18 : Space rendevous mission with Soviet Soyuz spacecraft (Apollo-Soyuz)
As the lunar module was a two maned spacecraft, with a job to take the astronauts to the moon, and to return to the command module,so Michael Collins orbited the moon waiting for then to return.