What Apollo was
A programme to reach the Moon
Apollo was NASA's programme to take people to the Moon and bring them home. 9 flights took crews there. Some, like Apollo 8 and Apollo 13, did not land. Others put a lunar module on the surface while one crew member stayed in orbit.
Those flights carried 24 people, not more, because 3 of them flew twice. Of the 24, only 12 walked on the surface. The rest circled the Moon and came home.
"Flew to the Moon" counts people who travelled to the Moon and back on those flights, including the ones who never landed. The 4 astronauts of Artemis II, in 2026, are counted on their own.