In this section

Historical Rules · 7 August 2020

Rule 122.4

Official source text from the 7 August 2020 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 as a state-based action. See rule 704.

Find this number in the current Rules