Pakistan's Prime Minister Shehbaz Sharif has revealed that more than 22 million children in the country are out of school.