Hello! I need to determine the number and duration of contacts of the patient with the doctor within a certain time. I think that a statistics collector is suitable for this, because there you can determine the start and end times of the contact, but my problem is that I do not have enough knowledge to do this.