jerking off vs onanism

jerking off

noun
  • An act of masturbation. 

onanism

noun
  • Masturbation. 

  • Ejaculating outside the vagina during intercourse; (the performing of) coitus interruptus. 

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