The most famous attempt to quantify this is the Drake equation. It’s probably a bit outdated now, but it’s still the only attempt at trying to put a figure on this.