Dimension of the Space of Class Functions