having all marbles vs in one’s right mind

having all marbles

in one’s right mind

How often have the words having all marbles and in one’s right mind occurred in a corpus of books? (source: Google Ngram Viewer )