add word frequency