You don't say what your motivating application is. It would be easiermore effective to sample without replacement, but maybe that is not an option. You also suggest that you might be willing to limit the maximum number of times the most frequent item occurs. Any assumptionsI think a lower bound on the model change what canleast frequent color might be saidmore helpful (equivalently, posit that anything below a certain relative frequency is an "anomaly" and does not count). I I am just going to assume that a puzzlemasterpuzzle-master, unknown to us, has put $n$ colored balls in a bag according to some private scheme she made up. We sample $s$ times with replacement and must draw conclusions as best we can. I will assume that $n$ is known but very large and that $0.1 n \lt s \lt 0.9 n$ but that is just a vague thought in the back of my mind. You do seem to want $s \lt n$
I think that you don't find a good match with species richness because you are not asking the right questions. DoWhat you can say something about is the possible frequency of the colors you have already seen. Indirectly that tells you something about the number of colors, but very little.
Do a thought experiment about various outcomes and what you can conclude.
Suppose allfirst that as you keep drawing $s$(then replacing) balls turn out to bethey are all green. WhatYou can you conclude? Mostsay that there seem to be lots of thegreen balls are green. You can say with"With $90\%$$95\%$ confidence that the number of green balls is at least $\alpha n$ for some$m=m(n,s)$" $\alpha(n,s)$ which I won't attempt to suggest that I personally know how to compute. Suppose that you do know and you announce "Of, equivalently the $n=1000000$number of non-green balls, we sampled is estimated to be no more than $s$, they were all green, so$n-m.$ However I am $95\%$ confidentdo not think that at least $870,000$ are greenyou can make any conclusion about their colors. YouEven if you get a surprise hint "good guess!, exactly: " There are at least $900000$$q$ balls which are not green. Now you know for sure that $2 \le N \le 100001.$ You get a further hint that the answer is and they are either $n=2$ or $N=10001$. Can you say anything aboutall the chance that $N \gt 10?$same color or else each has a color unique to itself" I say no. OK now supposedo not think you got just the first hint or even no hints at allhave any way of saying which is more likely. Does that make it easier to decide if $N \gt 10?$ How could it? And with no hints how confident can you behint the only change is that there are any balls which are not green? I don't see why you would beperhaps $q=0$.
NOW supposeI don't think that a limit such as "no color occurs more than one third of yourthe time" will help. Suppose instead that (for a not too small $s$ sampled they were green and red in) the ratio 17 to 9balls come out "red, white, blue, yellow, pink" with frequencies roughly $2:2:2:1:1$. Then you can besay "With $90\% $ confident that$95\%$ confidence the number of red,white,blue,yellow and pink balls" balls is at least $\alpha n$ are red or green$m$" for the same $\alpha $ as before. But as far$m=m(n,s)$ as saying if there are any other colors and if so how many, things are no better and no worse than beforein the all green scenario. WhatAND you can say with good confidence is that therewhatever the number of balls of those five colors the frequencies will be roughly 1/4,1/4,1/4,1/8,1/8. But you are about twice asno better of on the question of how many green as red.unseen colors might there be.
SO I am less confident what one might say in the $2:2:2:1:1$ scenario above if along the way you say a single black ball, but I do not think that you can answer these questions (whichcould say much.
Another extreme is if you don't seemhave made a reasonable number of samples and never seen the same color twice. Would that interestedoccur in): Estimate how many balls your application? Then you might be a different color thanable to say with some confidence that few, if any we have seen, colors repeat. For each colorThen you could (I would think) answer the "more than x colors" question as likely having seen, estimate how many less than $x$ balls are this color.