cotton to vs hitting it off

cotton to

verb
  • To like; approve of, accept, or tolerate. 

hitting it off

How often have the words cotton to and hitting it off occurred in a corpus of books? (source: Google Ngram Viewer )