Counting the number of favorable outcomes.