for a spell vs for a while

for a spell

for a while

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