Surgeons often use a counting system, where the number of sponges used is carefully tracked before, during, and after the procedure. Some sponges also have barcodes or are radiopaque to aid in tracking.