rise to the challenge vs rise to the occasion

rise to the challenge

verb
  • To show resolve or effectiveness in dealing with a difficulty. 

rise to the occasion

verb
  • To show resolve or effectiveness in dealing with a difficulty. 

  • To achieve erection for sexual intercourse. 

How often have the words rise to the challenge and rise to the occasion occurred in a corpus of books? (source: Google Ngram Viewer )