add length quary