Add the function to compute all the min,max... info of frequency