on one’s deathbed vs on one’s last leg

on one’s deathbed

on one’s last leg

How often have the words on one’s deathbed and on one’s last leg occurred in a corpus of books? (source: Google Ngram Viewer )