cheerfulness vs optimism

cheerfulness

noun
  • The state of being cheerful; joy. 

optimism

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

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

  • the belief that good will eventually triumph over evil 

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