as it happens vs to be sure

as it happens

adv
  • By coincidence, incidentally 

to be sure

adv
  • Certainly, undoubtedly, admittedly. 

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