Count the piglets again before you close the gate.