how many publicly traded stocks
There are over 100K publicly traded companies in the world. At one point, my tool used to track them all :). The majority of them are thinly traded. In the US, less than 4000 companies are actively traded in NYSE or Nasdaq. There are another 15000 stocks that are traded over the counter (not in a major exchange) in the US.