Calculating the total time taken for mutation - TanStack