hotfix to wordcount implementation