Exposes the length of an ObjectOpenFile by making an api call only when necessary