clearheaded vs drunk as a piper

clearheaded

adj
  • Having the ability to think clearly and act appropriately 

drunk as a piper

adj
  • Thoroughly drunk. 

How often have the words clearheaded and drunk as a piper occurred in a corpus of books? (source: Google Ngram Viewer )