have mastery over vs have the whip hand over

have mastery over

have the whip hand over

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