public int count() { if (isObject) return _object.members.Count; if (isArray) return _array.elements.Count; return 0; }