Global electron content during solar cycle 23