Sampling from Dirichlet partitions: estimating the number of species