Weight loss depends on more than calorie counting because different foods affect metabolism and the gut microbiome differently.