how to calculate percentage of time spent on a task