A question about onions

Does anybody know if there is a difference carbohydrate wise between raw onions and carmelized onions? I know I’ve seen carmelized onions as a side dish at some restaurants and at Longhorn they are listed at 10 or 11 carbs. I know the carmalization brings out their natural sugars for taste so I’m wondering if the higher carb number listed at the restaurant has to do with the portion size? I know they shrink up alot when cooked and to be listed as a side dish they would have to be somewhat sizeable. I’m thinking maybe I could order that and split it with my husband.