a while back vs formerly

a while back

formerly

adv
  • at some time in the past 

  • previously; once 

How often have the words a while back and formerly occurred in a corpus of books? (source: Google Ngram Viewer )