knock on wood vs stave off

knock on wood

verb
  • To take a customary action to ward off some misfortune that is believed to be attracted by a presumptuous statement. 

intj
  • Hopefully; a self-directive to undertake the customary action to ward off bad luck. 

stave off

verb
  • to prevent something from happening; to obviate or avert 

How often have the words knock on wood and stave off occurred in a corpus of books? (source: Google Ngram Viewer )