WordCountExtended first implementation.