For each element y in Y, get the first element that is greater than or equal
to y and return its index in X. If no element is found, return the length of X.
Parameters:
X (Constant) – An increasing vector, or an indexed series/matrix.
Y (Constant) – A scalar, vector, array vector, tuple, matrix, dictionary or table.