'Dimension of the vector space V underlying the Lie algebra
Examples
>>> from sympy.liealgebras.cartan_type import CartanType
>>> c = CartanType("A4")
>>> c.dimension()
5'

def dimension(self):

    return (self.n + 1)
