You don’t need to count either calories or carbs while intermittent fasting! The fasting period is there to cut calories for you — the idea being that if you eat for fewer hours per day, you’ll naturally eat less.
If you want to combine a low-carb diet with intermittent fasting, then you’ll need to count your carb grams to make sure you’re within the 50–130 g range.