in opposition to vs in the same direction as

in opposition to

in the same direction as

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