There is a computer with $N$ buttons in a secret room. We do not have access to the computer and we do not know $N$. But we know that $N\leq 100$ and we have a ever so slightly larger prior for smaller $N$s. Each button $i$ is associated with a number $\mu_i$ and when pressed, the computer samples a real number from $\mathcal{N}(\mu_i,\sigma=1)$. The numbers $\mu_i$ are equally likely to be a real number between $1$ and $10^6$. There is somebody in the room and we can ask them to press any random button and get a random number, and we assume regardless of what has happened before, they are always equally likely to press any of the $N$ buttons. We have so far asked the person to do their thing $k$ times and have $k$ numbers $D_k=d_1, ..., d_k$, and we want to guess $N$ for a chance to win a prize if we get it exactly right.
It seems quite difficult to do the necessary calculations for this. But I believe one can show that $\forall n_1\geq k,n_2\lt k: P(N=n_1|D_k=d_1...,d_k)\gt P(N=n_2|D_k=d_1...,d_k)$. Now assume a scenario where $k$ is small, particularly less than $100$, e.g. $k=10$. In this case, it seems to me that our best bet for $N$, i.e. the most probable value for $N$, is $N=k$ (because of the slightly larger prior for smaller $N$s). This, however, seems quite counter-intuitive to me, because (for small $k$) our inference only depends on our will regarding how many data points we want to generate! We can predictively manipulate our inference regardless of what data we will get. If I decide to bug the person in the room one more time, I know beforehand that my best estimate would be $N=k+1$. So I don't even need to ask the person anymore. I can already update my belief!
I hope I have been able to communicate my confusion. I need clarification on where I am making a mistake here.
Edit: Actually, with the same logic, for $k\ge100$ our posterior mode would be $N=100$. So basically our estimate always only depends on how many samples we choose to get.
Edit 2: Many thanks to the people who gave the thoughtful answers. I figured the reason I intuitively thought the posterior for $N=k$ is always larger than $N<k$, which, as everybody below has mentioned, was incorrect. I think it is correct that, defining $f(m)=max_{\mu_1,...,\mu_m}(P(D_k|N=m,\mu_1,...,\mu_m))$, $f(k)>f(k')$ for $k'<k$. For some reason my intuition was taking that as the evidence that the posterior is also larger for $N=k$. While all answers address the problem, I will accept Sextus Empiricus's answer because it more directly made me see my error.