summariseCohortCodeUse function

Summarise code use among a cohort in the cdm reference