got wordcount to run partially in python