add word counter