attend closely to vs lend an ear to

attend closely to

lend an ear to

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