Almost 40 million students were affected by the nationwide school closures caused by COVID-19.