knock on wood vs ward 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. 

ward off

verb
  • To avert or prevent. 

  • To parry, or turn aside. 

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