wordcount moved out from testbase