count debug