'Return the number of coefficients in one param set'

def get_num_coeff(self, ndim):

    if ((self.order < 2) or (self.order > 9)):
        raise ValueError(u'Degree    of    polynomial    must    be    2<    deg    <    9')
    nmixed = comb(self.order, ndim)
    numc = (((self.order * ndim) + nmixed) - 2)
    return numc
