When calculating the calories of a food, you need to count the edible portion of the food, and corn cobs are inedible substances, so you need to remove the weight of the cobs when calculating the calories of corn.
100 grams of fresh corn is 106 calories (excluding the inedible portion), but 100 grams of fresh corn has 46 grams of inedible (most of the cooked corn on the cob on the market is fresh corn), that is, eating a large corn on the cob is only about 85 kcal and contains 1 gram of fat.