A retry count of 0 tells you exactly how many retries happened. A NULL count means the number is unknown. Both a positive count and a recorded zero are usable measurements.
Return id and retries wherever the count was recorded. Keep the rows with zero retries.