count_difftime function

Counts the Time differences (epochs) per group (in a grouped dataset)