only run word count update if database feature is on