Pakistan is the second largest Muslim country in terms of population ( behind Indonesia ) , and its status as a declared nuclear power , being the only Islamic nation to have that status , plays a part in its international role . Pakistan is the second largest Muslim country in terms of population ( after Indonesia ) , and its status as a declared nuclear power , being the only Islamic nation to have that status , plays a part in its international role .