get in someone's good books vs try to get on someone's good side

get in someone's good books

try to get on someone's good side

How often have the words get in someone's good books and try to get on someone's good side occurred in a corpus of books? (source: Google Ngram Viewer )