Advanced Hadoop WordCount example