Implemented Counters for ID Stage