in pain vs under a strain

in pain

phrase
  • Feeling or experiencing pain. 

under a strain

How often have the words in pain and under a strain occurred in a corpus of books? (source: Google Ngram Viewer )