gain mastery over vs get a grip on

gain mastery over

get a grip on

How often have the words gain mastery over and get a grip on occurred in a corpus of books? (source: Google Ngram Viewer )