The regional municipality of Halifax is the capital and largest municipality of Nova Scotia by population with 403,131 residents representing 403131 of the total population of the province and land area at 5490 sqkm .