in the (good) old days vs on a former occasion

in the (good) old days

on a former occasion

How often have the words in the (good) old days and on a former occasion occurred in a corpus of books? (source: Google Ngram Viewer )