fix native runtime wordcount