as it happens vs serendipitously

as it happens

adv
  • By coincidence, incidentally 

serendipitously

adv
  • By serendipity; by blind luck in combination with wisdom; by fortunate accident. 

How often have the words as it happens and serendipitously occurred in a corpus of books? (source: Google Ngram Viewer )