quite the contrary vs to the contrary

quite the contrary

adv
  • opposite of what had earlier been expected or assumed. 

to the contrary

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