<Tr> <Td> 1871 </Td> <Td> Nova Scotia </Td> <Td> 387,800 </Td> </Tr> <Tr> <Td> 1871 </Td> <Td> Prince Edward Island </Td> <Td> 94,021 </Td> </Tr> <Tr> <Td> 1871 </Td> <Td> Northwest Territories </Td> <Td> 48,000 </Td> </Tr> <Table> <Tr> <Th> Year </Th> <Th> Canada as a whole </Th> <Th> Population </Th> <Th> Provinces / Area </Th> </Tr> <Tr> <Td> 1871 </Td> <Td> Indigenous population </Td> <Td> 102,358 </Td> <Td> Prince Edward Island 323 - Nova Scotia 1,666 - New Brunswick 1,403 - Quebec 6,988 - Ontario 12,978 - British Columbia 23,000 - Rupert's Land 33,500 - Manitoba 500 and Labrador and the Arctic Watersheds 22,000 </Td> </Tr> </Table>

What is the population of canada in 1940