MapReduce Java code for counting words that meet certain conditions.