misery vs optimism

misery

noun
  • A bodily ache or pain. 

  • Great unhappiness; extreme pain of body or mind; wretchedness; distress; woe. 

  • poverty. 

  • Cause of misery; calamity; misfortune. 

optimism

noun
  • the doctrine that this world is the best of all possible worlds 

  • a tendency to expect the best, or at least, a favourable outcome 

  • the belief that good will eventually triumph over evil 

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