Calculate number of outcomes for results