contravene vs go counter to

contravene

verb
  • To act contrary to an order; to fail to conform to a regulation or obligation. 

go counter to

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