discomfit vs edge out

discomfit

verb
  • To defeat the plans or hopes of; to frustrate; disconcert. 

  • To embarrass (someone) greatly; to confuse; to perplex; to disconcert. 

edge out

verb
  • To defeat in a contest or a game by a narrow margin of victory. 

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