'Return the number of coefficients in one parameter set'

def get_num_coeff(self, ndim):

    if (self.degree < 0):
        raise ValueError(u'Degree    of    polynomial    must    be    positive    or    null')
    if (ndim != 1):
        nmixed = comb(self.degree, ndim)
    else:
        nmixed = 0
    numc = (((self.degree * ndim) + nmixed) + 1)
    return numc
