How do I group by the ids with only the null directly located directly below it. Then get sum of the time?
ID time 1 time1 null time1 null time1 null