The number you are concerned with is TOTAL CARBOHYDRATE.
If an apple has 30g of carbohydrate and 25g of sugar, that means that there are 5g of OTHER carbohydrate - fiber and sugar alcohols are carbohydrates as well but are not classified as "sugar" by the FDA. Don't add the sugar number to the TOTAL CARBOHYDRATE number, it's already included.
So, an apple may look like this:
Sugar alcohols: 3g
TOTAL CARBOHYDRATE: 30g (25 + 3 + 2 = 30g)
Those numbers aren't perfectly accurate, I'm just giving you an example off the top of my head.
Don't put your trust in anyone on this forum, including me. You are the key to your own success.