A basic java word count for spark