come through with flying colors vs gain certification

come through with flying colors

gain certification

How often have the words come through with flying colors and gain certification occurred in a corpus of books? (source: Google Ngram Viewer )