have the upper hand over vs have under one's thumb

have the upper hand over

have under one's thumb

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