[SM23] fixed print_count counter