Use SliceInfo to count elements