refrain vs restrain oneself

refrain

verb
  • To stop oneself from some action or interference; to abstain. 

  • To abstain from (food or drink). 

noun
  • The chorus or burden of a song repeated at the end of each verse or stanza. 

  • A much repeated comment, complaint, or saying. 

restrain oneself

How often have the words refrain and restrain oneself occurred in a corpus of books? (source: Google Ngram Viewer )