give up the ghost vs hop the stick

give up the ghost

verb
  • To cease clinging to life; to die. 

  • To cede a commitment to or identification with. 

  • To quit; to cease functioning. 

hop the stick

How often have the words give up the ghost and hop the stick occurred in a corpus of books? (source: Google Ngram Viewer )