Implemented Counters for MEM Stage