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

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