gone to pot vs in the shop

gone to pot

in the shop

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