The stocks included in the S&P 500 are those of large publicly held companies that trade on either of the two largest American stock market exchanges; the New York Stock Exchange and the NASDAQ. Wikipedia
I agree that companies with 3-100 employees will just not appear in SP500.
However, Mercury Interactive was included when it had around 1000 employees. 1000 is a lot, but you can still learn by comparing a company with 1000 employees to HP with 300,000.
The stocks included in the S&P 500 are those of large publicly held companies that trade on either of the two largest American stock market exchanges; the New York Stock Exchange and the NASDAQ. Wikipedia