Add counting return error for ace