You asked:

how many people lived in london in 1800

Sorry, I don't yet have an answer to that question.