keep it in one's pants vs share a bed

keep it in one's pants

verb
  • To refrain from trying to have sex with someone. 

share a bed

verb
  • To engage in sexual intercourse (with someone). 

  • Used other than figuratively or idiomatically: see share, bed. 

How often have the words keep it in one's pants and share a bed occurred in a corpus of books? (source: Google Ngram Viewer )