The Kuiper Belt luminosity function from m$_R$= 22 to 25