back when vs used to be

back when

used to be

How often have the words back when and used to be occurred in a corpus of books? (source: Google Ngram Viewer )