constraint vs nipping in the bud

constraint

noun
  • An irresistible force or compulsion. 

  • A condition that a solution to an optimization problem must satisfy. 

  • A linkage or other restriction that maintains database integrity. 

  • The repression of one's feelings. 

  • Something that constrains; a restriction. 

nipping in the bud

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