Fix demo2 to use words countType as it should.