maniac vs pessimist

maniac

noun
  • A fanatic, a person with an obsession. 

  • An insane person, especially one who suffers from a mania. 

pessimist

noun
  • Someone who habitually expects the worst outcome; one who looks on the dark side of things. 

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