Say we're drawing marbles from a box. The marbles can be labeled X, Y, or Z and can be either black, brown, or white. The probability of drawing a marble with each letter label is unknown but fixed and marbles are replaced after each draw.
A marble labeled X is half as likely to be brown as the other colors. A marble labeled Y is half as likely to be black as the other colors. A marble labeled Z is half as likely to be white as the other colors.
Say on our twentieth draw from the box you see a black Y for the first time.
Question I came up with: What is the best estimate for the probability of drawing a marble labeled Y from the box?

Let $p=0.2P(Y)$ be the probability of picking a black $Y$.
Given this, one approach is to model the number of draws $D$ to the first $Y$ as a geometric distribution with unknown success parameter $p$.
The probability that we first see $Y$ on draw $k$ is given by:
$$P(D=k) = (1-p)^{k-1}p$$
In your case, $k=20$ so we get $p(1-p)^{19}$
For inference, we can make this a function of $p$ to get the likelihood function $\mathcal{L}(p;k)$. It's often easier to work with the log likelihood $\ell(p;k)$
$$\ell(p;k)=\ln \mathcal{L}(p;k) = \ln(p) + 19\ln(1-p)$$
Now we look for the $p$ that maximizes the log likelihood to get the maximum likelihood estiamte:
$$\frac{d}{dp}\ell(p;k) = \frac{1}{p}-\frac{19}{1-p} = 0 \implies p = \frac{1-p}{19} \implies 19p+p = 1 \implies p=\frac{1}{20}$$
Which is the obvious result (as most maximum likelihood estimators are :)
Below is a plot of the log-likelihood region around $p=0.05$ with $p=0.05$ and $\ell = -3.9703$ shown as vertical and horizontal lines, respectively.
You can see the maximum log-likelihood is $\ell(0.05;19)= \ln(0.05) + 19\ln(0.95) \approx -3.9703$
Given that $\hat p = 0.05$ we have that $P(Y) = \frac{p}{0.2} = 0.25$
The approximate 95% CI for $p$ can be derived used Wilk's Theorem of the Likelihood Ratio Statistic, which states that
$$D:=2\left[\ell(5(0.05));19)-\ell(5p;19)\right] \sim \chi_1^2 $$
The 95th percentile of $\chi_1^2$ is $3.841$ therefore:
$$P(D\geq 3.841) = 0.05 \implies \ell(0.05;19) - \frac{3.841}{2} = -3.9703 - \frac{3.841}{2} \approx -5.891$$
So our 95% confidence interval will include values of $p$ such that
$$\ell(p;19) \geq -5.891$$
Which is approx $(0.005,0.20)$
Converting this to a CI for $P(Y)$ gives us $(0.025, 1)$ so a pretty large amount of uncertainty still.
We can compare this to an inverted hypothesis test based interval:
Let's assume $P(Y)=1$ (so only $Y$'s in the bucket). Then there is still a 1% chance we'd have to draw 20 times to see our first black $Y$. If we look at the upper and lower 97.5 cutoffs for significance we see that the range of $P(Y)$ is $(.012, 0.7)$
This level of uncertainty makes sense because we are only told a very limited piece of information -- we don't know the outcome of the previous 19 draws, which would very much constrain the probability even more.