do the nasty vs have it off

do the nasty

verb
  • To engage in sexual intercourse. 

have it off

verb
  • to engage in sexual intercourse 

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