apple of eye vs teacher’s pet

apple of eye

teacher’s pet

How often have the words apple of eye and teacher’s pet occurred in a corpus of books? (source: Google Ngram Viewer )