fix counting bug for novel words