as luck would have it vs by coincidence

as luck would have it

prep
  • by good fortune; fortunately or luckily. 

by coincidence

How often have the words as luck would have it and by coincidence occurred in a corpus of books? (source: Google Ngram Viewer )