enter into an agreement vs give an undertaking

enter into an agreement

give an undertaking

How often have the words enter into an agreement and give an undertaking occurred in a corpus of books? (source: Google Ngram Viewer )