done for vs on last leg

done for

adj
  • Doomed; without hope of recovery. 

on last leg

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