do the nasty vs have marital relations

do the nasty

verb
  • To engage in sexual intercourse. 

have marital relations

verb
  • To have sex (especially of a married couple). 

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