I don't believe for a moment it makes much, if any difference, when you take in energy. Were it so it would not be disputed.
Never mind the gimmicks (or excuses) go for a healthy diet and exercise that doesn't seem to be a penance to be endured for a short while, but a life style you can adopt permanently.
Yes calorie counting is no bad thing in the short term, and at odd times when at your ideal weight too. It ensures you aren't putting away more than you thought, and keeps your portion sizes reasonable & consistent.