What percentage of US households has investments in the stock market?

guillerminelgrande asked: Where can I find statistical data, from a reliable source, about how many households (I’m looking specifically for middle-class, but global stats would also do) have investments in the stock market?. I don’t mean trust funds or other indirect investments but people actually buying and trading stocks.