contribute vs have something to do with something

contribute

verb
  • To give something that is or becomes part of a larger whole. 

have something to do with something

How often have the words contribute and have something to do with something occurred in a corpus of books? (source: Google Ngram Viewer )