market-weighted index and stock splits

Do stock splits and stock dividends affect the # of shares that are multiplied by in problems that ask for market weighted index percentage changes? I’m thinking now, but just want to make sure. Thanks everyone.

Market weighted indices only account for market value, correct? Stock splits/dividends do not affect market value. So no. The share price goes down (diluted) and the #of shares outstanding goes up, so they offset each other.