bone up vs gain mastery

bone up

verb
  • To study or cram, especially in order to refresh one's knowledge of a topic. 

gain mastery

How often have the words bone up and gain mastery occurred in a corpus of books? (source: Google Ngram Viewer )