by habit vs dyed-in-the-wool

by habit

dyed-in-the-wool

adj
  • Having the fibres dyed before they are formed into cloth. 

  • Firmly established in one's beliefs or habits; having a specified characteristic, identity, etc. deeply ingrained in one's nature. 

How often have the words by habit and dyed-in-the-wool occurred in a corpus of books? (source: Google Ngram Viewer )