Suppose that the inter-arrival times of male customers entering the bank are iid exponential random variables with $\frac{1}{\lambda_1}$ and for those females are iid exponential random variables with $\frac{1}{\lambda_2}$. Find the distribution and expected value of $Z_f$, the number of female customers arriving at the bank between two successive male customers.
The question bothers me for a while. Please help me out!!!
Conditional the male first arrival time $T$, derive the number of female jumps in $[0, T]$. This the conditional distribution of $Z_f$ on $T$. From here, you can get the marginal of $Z_f$.