How do you calculate intermittent fasting?