maniac vs one-track mind

maniac

noun
  • A fanatic, a person with an obsession. 

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

one-track mind

noun
  • That said to be possessed by someone who is obsessed with something or only able to think of one thing. 

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