complexity vs perplexity

complexity

noun
  • That which is and renders complex; intricacy; complication. 

  • The state of being complex; intricacy; entanglement. 

perplexity

noun
  • Something that perplexes. 

  • The state or quality of being perplexed; puzzled or confused. 

  • In information theory, a measurement of how well a probability distribution or model predicts a sample. 

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