be in command of vs have the upper hand over

be in command of

have the upper hand over

How often have the words be in command of and have the upper hand over occurred in a corpus of books? (source: Google Ngram Viewer )