fix engine counter bug & add memory graph target