CountSemiprimes further explanation