In this section

Historical Rules · 1 September 2023

Rule 122.4

Official source text from the 1 September 2023 Rules release

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