ingratiate oneself with vs shine up to

ingratiate oneself with

shine up to

How often have the words ingratiate oneself with and shine up to occurred in a corpus of books? (source: Google Ngram Viewer )