Count total elapsed time.