index instances by cohort