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

come into someone's head

pass through someone's mind

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