The number of alleles and segregating sites in a sample from the infinite-alleles model