| '''Summary'''
|Checks if the specified {{Code|$sequence}} has at least {{Code|$min}} and, optionally, at most {{Code|$max}} items. Equivalent to:
<syntaxhighlight lang="xquery"code>let $count := count($sequence)return $count >= $min and $count <= $max</syntaxhighlightcode>
|-
| '''Examples'''