have the greatest influence vs have the upper hand

have the greatest influence

have the upper hand

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