Glacier National Park and Yellowstone National Park both welcomed the second-highest number of visitors on record last year.