counter to vs diametrically opposed to

counter to

diametrically opposed to

How often have the words counter to and diametrically opposed to occurred in a corpus of books? (source: Google Ngram Viewer )