Eating vegetables and whole foods without worrying about counting calories or limiting portion sizes doesn't feel like effort. You don't WANT to eat more. And your body becomes happier about burning fat rather than demanding that you eat.
Counting calories explicitly is a lot of work and a lot of self control. Few people can succeed at that.
Personally I follow the former strategy using http://www.weightgrapher.com/ to keep myself honest. About 15 years ago I decided to lose 20 pounds, and kept it off for close to a decade. Then I let my weight get away from me, because life got complicated. This time around I've decided to get back to that weight again, and I know it is sustainable. I'm not aiming for fast weight loss, I've been going at a comfortable pace for 3 months and expect to be dieting another 6 months to reach my target. But I know that I'll be able to get there and stay for years without a lot of willpower. Partly luck of genetics/gut biome. Partly because I'm doing it in a mentally easy way.