by no means vs of course not

by no means

prep
  • certainly not; definitely not; not by any means. 

of course not

How often have the words by no means and of course not occurred in a corpus of books? (source: Google Ngram Viewer )