Keystone defines length as: "The distance from the centerline of the hitch pin/coupler to the rear bumper of the trailer." So the rear slide is not considered in the brochure specifications for length. If you think about it, trailers with side slides are listed as either 96, 98 or 101, 102 inches wide. All of those measurements are with the side slides retracted. In other words, length and width are specified in "travel position"...
I'm not aware of any Keystone trailer that has a rear slide that is anything other than a "foundation for a mattress", so the rear slide "should be very close to the size of that bed". Even then, some are "canvass enclosures" some are "solid wall enclosures" so the construction does play a part in wall thickness, which adds to overall slide width and length.
That said, the actual distance from the rear wall of the trailer to the end of the slide (when extended) will depend on factors such as the slope of the rear wall, the presence or absence of a rear bumper, or other factors (if there might be any)
So, if the extended length is critical for some reason, such as parking, storage with the rear slide extended or other reasons, then I'd strongly urge you to do your own "actual measurement using your own ruler/tape measure"... This is one where a "best guess by a salesman or the guy that washes trailers for display" is not going to get you any reliable information to make such decisions. If all you need is a "best guess" type length, then I'd suggest using the length of the bed as a starting point, then just adding that to the specified trailer length. That will be "kind of close"... But if "inches" are a concern, nothing beats your own measurements. Not much is worse than buying a $30K trailer (or more) and finding out that it's 2" too long for the space you have to park it.
As an observation, I don't believe any current floorplans that are in production have a rear slide option, but some do have a "fold down patio deck/rear wall". So, if you're looking at a Keystone trailer, it will be one that is already built and you won't be able to special order one "built with your options"....