get err count