be in command of vs have mastery over

be in command of

have mastery over

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