He wrote a lot more songs than you may realize. He gave a LOT of music away to other artists, under pseudonyms, and a bunch of his giveaways became hits in their own right.
I actually didn't realize until he died and I read these obit articles that he was the songwriter behind Sinead O'Connor's "Nothing Compares 2 U", that he wrote "Manic Mondays" for the Bangles, and a whole lot of other shit.
I was never a big fan of him, but you gotta recognize that he had talent. Not many artists are as prolific in producing music as he was. The guy played six or seven instruments fantastically well, wrote a zillion songs, and constantly changed his musical style. Not many can do that. It's real talent.