wordcount example modified for cluster testing