Speedups for Legendre/Meissel/Lehmer/LMOS old prime count routines