columnRefCount
The number of direct column references to name in the tree - the positions an inline substitution would replace. over partition keys reference columns by name without a reference node and are NOT counted (their use is probed separately by overKeyRef).
Parameters
e | the expression to count in |
name | the referenced column name |
Returns
the reference count.