make a subset of the names database for n-most popular names