If surgical sponges which are to be discarded have a marker that evokes one response and other objects are marked with a marker that prompts a different response, the control system can be designed to illuminate the light only when marked objects which are not to be discarded pass the detector.