num_cohort_outcomes function

Number of different possible outcomes for a cohort of patients