High resolution size analysis of nanoparticles and ions