have mastery over vs have under one's thumb

have mastery over

have under one's thumb

How often have the words have mastery over and have under one's thumb occurred in a corpus of books? (source: Google Ngram Viewer )