Added api for current slices and total slices.