afterwards vs hereof

afterwards

adv
  • At a later or succeeding time. 

hereof

adv
  • From or as a result of this. 

  • Of this; concerning this. 

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