Determination of sugar components and contents