Nonparametric methods for population size estimation