counter: Standardize to ERANGE for limit exceeded errors