detract vs do a number on

detract

verb
  • To take credit or reputation from; to defame or decry. 

  • To take away; to withdraw or remove. 

do a number on

verb
  • To damage; to treat harshly; to produce ill effects in. 

How often have the words detract and do a number on occurred in a corpus of books? (source: Google Ngram Viewer )