raving mad vs with a screw loose

raving mad

with a screw loose

How often have the words raving mad and with a screw loose occurred in a corpus of books? (source: Google Ngram Viewer )