be on good terms vs hit it off

be on good terms

hit it off

verb
  • To develop an amicable relationship (with), especially in a sudden manner during an initial encounter. 

How often have the words be on good terms and hit it off occurred in a corpus of books? (source: Google Ngram Viewer )