delete extra code, get count for every word into redis