Implemented counting of instructions into SimulateInstruction()