dispense with vs knock something on the head

dispense with

verb
  • To eliminate or do without. 

knock something on the head

How often have the words dispense with and knock something on the head occurred in a corpus of books? (source: Google Ngram Viewer )