Hi, I think creating an sql function that returns the rate limit of the user for any condition and using this function return value to send a CoA request to set the Rate-Limit is far easier than creating and handling counters.