bitter pill vs thorn in one's side

bitter pill

noun
  • Used other than figuratively or idiomatically: see bitter, pill. 

thorn in one's side

How often have the words bitter pill and thorn in one's side occurred in a corpus of books? (source: Google Ngram Viewer )