refine wordcout