have someone in one's hip pocket vs have the whip hand over

have someone in one's hip pocket

have the whip hand over

How often have the words have someone in one's hip pocket and have the whip hand over occurred in a corpus of books? (source: Google Ngram Viewer )