Update character couting version 2