in holes vs on its last legs

in holes

on its last legs

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