Dimension of zero weight space: An algebro-geometric approach