summariseCohortCount function

Summarise counts for cohorts in a cohort table