as it happens vs unexpectedly

as it happens

adv
  • By coincidence, incidentally 

unexpectedly

adv
  • In an unexpected manner. 

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