> my research indicated that calorie counting is a myth

Given that calorie counting (or rather, being in a caloric deficit) emphatically does work[1] (it's roughly just a matter of thermodynamics), I would (respectfully) argue that your research was insufficient.

It is true that the vast majority of people underestimate their calorie input, and there are some special cases (such as diabetics) where calorie counting doesn't give you the results you expect (insulin resistance increases the amount of energy required to "burn" a certain amount of fat because insulin is used in fat expenditure). A disturbing amount of weight-loss studies depend on subjects to self-report the amount of calories consumed -- which almost always invalidates the conclusion (people always underestimate their calorie consumption, doubly so when they've just started a diet!).

However, for the vast majority of people, the standard formulas for total daily energy expenditure[2] are more than accurate enough for accurate weight loss (especially for people who are >15% body fat -- once you get really lean there are other considerations when trying to reduce body fat). They definitely aren't perfect, but they're usually accurate to around ~5-10% (more than enough to get a good idea of how many calories you should be consuming, and how much of a deficit you need to be in in order to lose a certain amount of fat at a certain rate).

> Certainly, I always struggled with a calorie-restricted diet, so I knew that if I always felt hungry, anything I did wouldn't work.

Did you change what kinds of food you ate when eating with caloric restrictions? Usually you want to eat very low-caloric-density foods like broccoli (your body's "fullness" reaction is determined by the volume of food you eat, not the nutritional content). A common mistake is that people will try to eat the same types of food (high-caloric-density), just less of it -- this is a recipe for disaster because it will lead to inevitable hunger tautologically (not to mention most high-caloric-density food has lots of sugar which triggers an insulin response -- causing more hunger after you've eaten it).

The primary reason why people lose weight when doing intermittent fasting is because they consume less calories as a result (you would have to actively stuff your face to get the same amount of calories in 8 hours). Have you tried counting calories now that you intermittently fast, and compared it to how many calories you ate beforehand? You might be surprised to find that's where the real change lies.

All of that being said, feel free to do whatever works for you. Personally, I found it easier to count calories and eat higher-density food. Then again, I usually skip breakfast so you could argue that I also intermittently fast.

> I know it sounds crazy that you can eat as much as you like and still loose weight but it happened.

I very strongly doubt this is true, purely due to thermodynamics. If you ate 10k calories every day (with intermittent fasting) you would gain weight (if you don't believe me, try it for a month and see what happens -- you should gain a few kilos a week depending on your existing weight). I would guess it's more likely that you simply felt that you ate more (but actually started eating less). Do you weigh your portions of food (most people are awful at estimating even how much mass of food they eat, let alone the caloric content)?

[1]: https://www.healthline.com/nutrition/does-calorie-counting-w... [This goes through common tropes in papers which are often misunderstood to say that calorie counting doesn't work.]
[2]: https://tdeecalculator.net/