reflect on vs take stock of

reflect on

verb
  • To think carefully about (something), and give it due consideration. 

  • To give an impression of (used with an adverb). 

  • To access details of (a data type, etc.) at run-time using reflection. 

take stock of

How often have the words reflect on and take stock of occurred in a corpus of books? (source: Google Ngram Viewer )