wordcount sample added, working but crashing at exit
Doc updated