Added metrics for total time taken