confide vs restrict

confide

verb
  • To take (someone) into one's confidence, to speak in secret with. ( + in) 

  • To say (something) in confidence. 

restrict

verb
  • To restrain within boundaries; to limit; to confine 

  • To consider (a function) as defined on a subset of its original domain. 

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