heretic vs kafir

heretic

noun
  • Someone who believes contrary to the fundamental tenets of a religion they claim to belong to. 

  • Someone who does not conform to generally accepted beliefs or practices 

kafir

noun
  • A disbeliever, a denier: someone who rejects or disbelieves in God as per Islam (Arabic: الله Allāh) or the tenets of Islam; or more broadly any non-Muslim. 

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