count_patients_events_in_cols function

Count patient events in columns