Maybe get dietary advice and try to lose weight under professional supervision.
Doing this on your own - especially if you had an ED no matter in what shape or form should make you more cautious... And calorie tracking can become obsessive in the worst case.
Good luck with your weight loss process and stay safe! ♡