Bayesian population size estimation using Dirichlet process mixtures