act upon vs do one’s duty

act upon

verb
  • To take action on the basis of information received or deduced. 

do one’s duty

How often have the words act upon and do one’s duty occurred in a corpus of books? (source: Google Ngram Viewer )