gone to pot vs not functioning

gone to pot

not functioning

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