counteract vs do by

counteract

verb
  • To deliberately act in opposition to, to thwart or frustrate 

  • To have a contrary or opposing effect or force on 

noun
  • An action performed in opposition to another action. 

do by

verb
  • To perform on behalf of someone or with someone in mind; to behave in a manner befitting someone. 

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