advisor vs confidant

advisor

noun
  • One who offers advice. 

  • A xiangqi piece, that is moved one point diagonally and confined within the palace. 

confidant

noun
  • A person in whom one can confide or share one's secrets: a friend. 

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