Hi Martin,
In simple, non scientific terms, if you are counting carbs then you should be counting the total carb content, not just the sugar portion. So, if a food has 50g carbs then count the full 50g, not just the 15g which sugars (for example!).
Good luck :D