Returns the number of values in the buffer
function numberOfValues input Buffer buffer "Memory of sliding window"; output Integer result "Number of values in the buffer"; end numberOfValues;