In this rule

Historical Rules · 8 July 2022

Rule 704.5r

Official source text from the 8 July 2022 Rules release

Permalink

If a permanent with an ability that says it can’t have more than N counters of a certain kind on it has more than N counters of that kind on it, all but N of those counters are removed from it.

Find this number in the current Rules