SF approaches 1 million residents