contextCount
Syntax
contextCount(X, Y)
Arguments
X and Y are vectors of the same length.
Details
Count the number of positions that are not null in both X and Y.
Examples
contextCount(1 2 3, 1 NULL 3)
// output: 2
contextCount(1..3,true false true)
// output: 3
contextCount(1 2 NULL, 1 NULL 3)
// output: 1
Related functions: contextSum, contextSum2