Suppose that $X_1, \dots, X_n$ are i.i.d. $Poisson(\theta)$. I want to compute the expected value of the number of zeros in $X_1, \dots, X_n$ conditioned on the sum $\sum_{i=1}^n X_i = m$. In other words,
$E [\#(X_i = 0)|\sum_{i=1}^n X_i = m]$
To do so, I first tried to compute the conditional distribution. Let $C = \#(X_i = 0)$, we have
$p(C = c|\sum_{i=1}^n X_i = m) = \frac{p(\sum_{i=1}^n X_i = m|C = c)p(C=c)}{p(\sum_{i=1}^n X_i = m)}$.
I derived
$p(C = c) = Binomial(n, e^{-\theta})$
$p(\sum_{i=1}^n X_i = m) = Poisson(n\theta)$
$p(\sum_{i=1}^n X_i = m|C = c) = p(\sum_{l=1}^{n-k} X_{i_l} = m) = Poisson((n-c)\theta)$
When I compute the conditional distribution, I get $p(C = c|\sum_{i=1}^n X_i = m) = \frac{(n-c)^m {n \choose c} (1-e^{-\theta})^{n-c}}{n^m}$. I'm not sure whether I have computed this distribution correctly (not sure if it even sums to one) and I don't know how to proceed from here to compute the expected value.