The number of American students taking AP courses increased tenfold between the 1980s and the 2010s