as a by-product vs casually

as a by-product

casually

adv
  • In a casual manner. 

How often have the words as a by-product and casually occurred in a corpus of books? (source: Google Ngram Viewer )