as luck would have it vs thank the stars

as luck would have it

prep
  • by good fortune; fortunately or luckily. 

thank the stars

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