be on good terms vs rub someone up the wrong way

be on good terms

rub someone up the wrong way

How often have the words be on good terms and rub someone up the wrong way occurred in a corpus of books? (source: Google Ngram Viewer )