having all one’s marbles vs mentally stable

having all one’s marbles

mentally stable

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