In order to detect a 10% difference in the discontinuation rate of exclusive breastfeeding at six months of age between groups, at 5% significance and 80% power, a total of 388 mother-infant pairs per group were needed.