extend one’s hand vs say farewell

extend one’s hand

say farewell

How often have the words extend one’s hand and say farewell occurred in a corpus of books? (source: Google Ngram Viewer )