have mastery over vs have someone in one's hip pocket

have mastery over

have someone in one's hip pocket

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