in the main vs mostly

in the main

prep
  • Principally; on the whole; for the most part. 

mostly

adv
  • Mainly or chiefly; for the most part; usually, generally, on the whole. 

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