attend closely to vs give ear to

attend closely to

give ear to

How often have the words attend closely to and give ear to occurred in a corpus of books? (source: Google Ngram Viewer )