I do keto (along with Keto Chow, which is basically low carb Soylent). I've had success with calorie counting in the past.
When I'm at my best, I also get a lot of cardio and lift some free weights. Working remotely has the nice advantage of being able to use a home gym.