come into someone's head vs come into someone's mind

come into someone's head

come into someone's mind

How often have the words come into someone's head and come into someone's mind occurred in a corpus of books? (source: Google Ngram Viewer )