UNICEF says middle- and low-income countries were the hardest hit. The agency criticized the "overlooked" impact of the climate crisis on education.