The number of decks in blackjack influences strategy primarily by affecting the odds and probabilities of specific cards being dealt. With fewer decks, players have a better chance of receiving high-value cards, which can lead to more favorable outcomes. This impacts strategies like card counting, where the fewer the decks, the more effective the counting can be, as players can more accurately predict the remaining cards.