Compound events: find the number of outcomes