Count the number of attacking creatures as Ghost-Spider's ability resolves. If a player responded to the ability by removing creatures from combat, this may be different than the number of creatures that were attacking as the ability triggered.