An asymptotic analysis of a class of discrete nonparametric priors