by dint of vs through the medium of

by dint of

prep
  • By the force of; by means of. 

  • Because of; by reason of. 

through the medium of

How often have the words by dint of and through the medium of occurred in a corpus of books? (source: Google Ngram Viewer )