rename, rewrite word counter