We all know the birthday problem.
Suppose an inversion* of the birthday problem: given a number of distinct birthdays (c) from a set of people, how can you estimate the number of people you had (n)? (given num birthdays < 365). And for arbitrary bin spaces other than 365 (k)?
E.g. you have c=47 days marked off in your school's calendar as birthdays (k=365), how big is your school most likely (n)?
Birthday collision problems are usually expressed as the odds of getting 1 or more collisions, I think we want the maximally likely quantity of collisions given c and k and add that to c to get a likely n.
(* not sure if this is the right term or name for this question)
Say there are n people in your school, and k days in the year (so the normal birthday problem has k = 365). Then the probability that any given day is not a birthday is $(1-1/k)^n$. If $k$ is large then this is approximately $e^{-n/k}$. Therefore we expect there to be $k e^{-n/k}$ days that are nobody's birthday.
So say we observe $j$ days which are somebody's birthday; then there are $k-j$ days which are nobody's birthday, and approximate number of people in the school can be found by solving $k - j = k e^{-n/k}$ for $n$. This gives
$$n \approx -k \log \left(1-{j \over k}\right)$$
So in the case you've suggested with $j = 47, k = 365$ we get
$$ n \approx -365 \log (1 - 47/365) \approx 50 $$.