They miscalculated in that they forgot that the breakfasts would need to be provided by staff that schools don't routinely have and would find difficult to hire.
They also appear to have based their calculations on the expectation that only a minority of children would actually take up the breakfasts. They were trumpeting free breakfasts for all while actually not expecting to provide free breakfasts for very many.