mad as a fish vs mad as a hatter

mad as a fish

adj
  • Demented, crazy. 

mad as a hatter

adj
  • Demented or crazy. 

How often have the words mad as a fish and mad as a hatter occurred in a corpus of books? (source: Google Ngram Viewer )