How many United States military academies (service academies) are there?

Society Trivia: How many United States military academies (service academies) are there?