Added counter import for the amd definition