as it happens vs in passing

as it happens

adv
  • By coincidence, incidentally 

in passing

prep
  • Incidentally; as a brief diversion from another topic etc. 

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