counting rules for determining the number of outcomes