In a poker game with more than one betting round, an out is any unseen card that, if drawn, will improve a player's hand to one that is likely to win.
If a player has two small pairs, and he believes that it will be necessary for him to make a full house to win, then he has four outs: the two remaining cards of each rank that he holds.
He has seen five cards (regardless of the number of players, as there are no upcards in Holdem except the board), of which four are spades.
Likewise, the Q♠ will fill his ace-high straight, but will also make it possible for an opponent to have a spade flush.
In sum, the player has 9 guaranteed outs, and possibly as many as 18, depending on what cards he expects his opponents to have.