by a long shot vs undoubtedly

by a long shot

prep
  • By a wide margin; indicates a very big difference or disparity. 

undoubtedly

adv
  • Without doubt; definitely. 

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