That sounds really hard. Is the purpose of determining the amount of food so you can adjust the amount of insulin? Sorry, I don't know about the day to day of living with diabetes.
When you eat, depending on the glycemic index of the food you're consuming your blood sugar starts immediately going up and can quickly peak at dangerous numbers if the food is sugary.
A diabetic will want to take dose of insulin a bit before eating in order to send their blood glucose level on a lowering trend. If you dose it right the two waves semi cancel each other out and your blood sugar goes up some, but hopefully not a huge amount.
If you get the dose wrong, it drops dangerously or rockets up and you have take correction doses.
Yes, diabetics need to precisely adjust their insulin intake in proportion to carbohydrate intake.