once upon a time vs sometime

once upon a time

adv
  • A long time ago; at some time in the past (a traditional beginning of children's stories, especially fairy tales). 

sometime

adv
  • At an indefinite but stated time in the past or future. 

adj
  • Occasional. 

  • Former, erstwhile; at some previous time. 

How often have the words once upon a time and sometime occurred in a corpus of books? (source: Google Ngram Viewer )