by a long way vs by a mile

by a long way

prep
  • To a considerably large extent, easily. Typically used in the negative to indicate something far removed and not easily altered. 

by a mile

How often have the words by a long way and by a mile occurred in a corpus of books? (source: Google Ngram Viewer )