<Li> P! nk </Li> <P> Martin Sandberg (born 26 February 1971), known professionally 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 "...Baby One More Time" (1998), "I Want It That Way" (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). In addition, he has had the second most Hot 100 number - one singles as a producer (20), behind George Martin, who had achieved 23 by the time of his death . </P> <P> In early 2013, his single sales were tallied by The Hollywood Reporter to be at over 135 million . </P>

Who wrote the most songs of all time