Canada is a North American country consisting of ten provinces and three territories. Located in the northern part of the continent, it is bounded by three oceans, and its common border with the United States is the world's longest land border. Canada is the world's second-largest country by total area. Canada has been inhabited for millennia, originally by various Aboriginal peoples to modern day. Canada is a federal state governed as a parliamentary democracy and a constitutional monarchy. The country is officially bilingual at the federal level. As of 2011, it has a population of approximately 33.4 million. Canada's economy is one of the world's largest and is reliant upon its natural resources and trade, particularly with the United States.