contrary to vs in the same direction as

contrary to

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

in the same direction as

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