The electron density of the solar corona