I were given a list of intervals, for example [[10,40],[20,60]] and a list of position [5,15,30] we should return the frequency of position appeared in the list, the answer