do away with vs knock something on the head

do away with

verb
  • To abolish; to put an end to; to eliminate. 

  • To have someone killed. 

knock something on the head

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