From this paragraph about Taylor Swift, how many AMAs has she won.

Swift has won 12 Grammy Awards (including three for Album of the Year—tying for the most by an artist),[582] an Emmy Award,[583] 40 American Music Awards (the most won by an artist),[584] 29 Billboard Music Awards (the most won by a woman),[585] 92 Guinness World Records,[586] 14 MTV Video Music Awards (including three Video of the Year wins—the most by an act),[244] 12 Country Music Association Awards (including the Pinnacle Award),[587] eight Academy of Country Music Awards,[588] and two Brit Awards.[169] As a songwriter, she has been honored by the Nashville Songwriters Association,[61][589] the Songwriters Hall of Fame, and the National Music Publishers' Association and was the youngest person on Rolling Stone's list of the 100 Greatest Songwriters of All Time in 2015.[590][591] At the 64th BMI Awards in 2016, Swift was the first woman to be honored with an award named after its recipient.[592] In 2023, Swift became the first act to be named the global best-selling artist of the year by the International Federation of the Phonographic Industry (IFPI) thrice.[593]

Taylor Swift has won 40 AMAs (American Music Awards).