congratulate vs snap to attention

congratulate

verb
  • To consider oneself fortunate in some matter. 

  • To express one’s sympathetic pleasure or joy to the person(s) it is felt for. 

snap to attention

How often have the words congratulate and snap to attention occurred in a corpus of books? (source: Google Ngram Viewer )