contrary to vs divergent from

contrary to

prep
  • despite; in opposition to (an assumption, etc.); differently from 

divergent from

How often have the words contrary to and divergent from occurred in a corpus of books? (source: Google Ngram Viewer )