doomed vs on last leg

doomed

adj
  • Assured to suffer death, failure, or a similarly negative outcome. 

on last leg

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