Both. But I concentrated on my sugar and carb intake mostly. I brought my calorie count down by just portioning my food and cutting out all junk. My carbs are between 20-40 for meals and 15 for snacks.
A couple years ago my glucose was high — 108 — so I did 6 months on very low carb. NO sugar (that I knew of).
I lost 25 pounds but glucose only went down to 104.
I went to regular eating for 6 months and re-tested. Gained 10 pounds, and glucose went DOWN to 102.
Makes no sense. Am trying to do low carb again, as I definitely felt better overall.