do well out of vs gain from

do well out of

gain from

How often have the words do well out of and gain from occurred in a corpus of books? (source: Google Ngram Viewer )