According to 2018 freelance statistics, the number was 16 million.
But Upwork keeps the exact size of its network of independent workers a secret. So, the above figure is unconfirmed and, more importantly, much greater by now.