what is the population rank within the nation of the capital of the district of portugal composed of 18 municipalities ?
second