The United States has recorded more than 5,000 cases of measles this year, the highest number in 35 years, according to an official count released Friday.