9.

In the episode, "Disaster Averted," Marshall uses some slaps on Barney, saying he'll save the last of 'em "for a rainy day." On "End of the Aisle," when he uses his final slap on Barney, it's raining.