Why is this `-1`? Shouldn't the length be `0` instead?