The chicken in the egg

I just had a thought about the chicken and the egg question: how does the little chick coming out of the egg have so many more calories in the egg did. The only thing going into the egg is oxygen.
But here’s the thing, at some point, that embryonic check and then the actual little bit before hatching, check, is also burning calories. The chicken is metabolizing Energy in the egg. So, the fascinating thing would be to find out, how many calories the chicken consumes every day until it hatches
And then drill down and see how is that possible based on the amount of energy stored in an egg?