Complex sentence: In 1947 there were only 189 madrassas in Pakistan, but there number expanded greatly during the rule of the dictator General Zia-ul-Haq (1977--1988).
Split into simpler sentences: In 1947 there were only 189 madrassas in Pakistan. The Madaris were few in number when Pakistan was founded, but expanded greatly in number during the rule of the dictator General Zia-ul-Haq (1977--1988).