Estimating the Number of Ancestral Lineages Using a Maximum-Likelihood Method Based on Rejection Sampling | Genetics