Being in a deficit is enough.

However, based on all my experience if you’re overweight carb calories, especially if pushed to excess, are suboptimal for fat loss.

Calories count and they take primacy, but they are not the only thing.