wordcount sample program