init count with 0