be familiar with vs have learned by heart

be familiar with

have learned by heart

How often have the words be familiar with and have learned by heart occurred in a corpus of books? (source: Google Ngram Viewer )