ID#189: added a counter to the status variables to ease access using object style iterator.