Inspired by this question, total mass ever launched to orbit (this is a different question, as many of the things launched have decayed by now.)
How much of it is still up there? Out of that again, how much is still operational?
Spent upper stages are valid and count as launched.
"Still there" does not include spacecraft landed or crashed on the Moon, Mars or other bodies. They may however be included in a separate number. Spacecraft "landed on" (docked to) another artificial object, like the ISS, does not count as landed.
"Operational" means two-way communication with Earth, propulsion capability is not necessary.
An asteroid must be larger than the spacecraft for it to count as "landed", meaning a spacecraft struck by interplanetary dust or pebbles is not "landed".