opt for vs would rather

opt for

would rather

How often have the words opt for and would rather occurred in a corpus of books? (source: Google Ngram Viewer )