gone to pot vs in need of repair

gone to pot

in need of repair

How often have the words gone to pot and in need of repair occurred in a corpus of books? (source: Google Ngram Viewer )