init count_x