By 2040 , the county 's population is expected to be 985,066 , compared to the 2000 population of 860,454 .