stark raving mad vs up the pole

stark raving mad

adj
  • Completely insane 

up the pole

prep
  • In favour or good repute; strait-laced. 

  • In trouble or difficulty. 

  • In confusion or error. 

  • Crazy; at one's wits' end. 

How often have the words stark raving mad and up the pole occurred in a corpus of books? (source: Google Ngram Viewer )