public static QilNode GetLastPosition(QilFactory f, QilTuple context) { return f.Convert(f.Length(context.Clone(f)), f.TypeFactory.Double()); }