in it vs up the pole

in it

prep
  • In trouble. 

  • Taking part in something, such as a lottery. 

  • Having an expected payout or reward. 

  • Getting on successfully, especially in a game. 

up the pole

prep
  • In trouble or difficulty. 

  • In favour or good repute; strait-laced. 

  • In confusion or error. 

  • Crazy; at one's wits' end. 

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