User: How many moons does Mars have?
Assistant: Mars has two moons, they were named Phobos and Deimos by the American astronomer Asaph Hall, who discovered them in August 1877.