<Tr> <Td_colspan="2"> Guitar </Td> </Tr> <P> Karl Martin Sandberg (born 26 February 1971), better known as Max Martin, is a Swedish songwriter, record producer and singer . He rose to prominence in the second half of the 1990s after making a string of major hits for artists such as the Backstreet Boys, Britney Spears, and NSYNC . Some of his earlier hits include "I Want It That Way" (1999), "...Baby One More Time" (1999) and "It's My Life" (2000). </P> <P> Martin has written or co-written 22 Billboard Hot 100 number - one hits, most of which he has also produced or co-produced, including Katy Perry's "I Kissed a Girl" (2008), Maroon 5's "One More Night" (2012), Taylor Swift's "Blank Space" (2014) and The Weeknd's "Can't Feel My Face" (2015). Martin is the songwriter with the third-most number one singles on the chart, behind only Paul McCartney (32) and John Lennon (26). </P> <P> In early 2013, his single sales were tallied by The Hollywood Reporter to be at over 135 million . </P>

Who has written the most number one songs of all time