* PopCount takes care only of the bit pattern, so take the uvalue to avoid an internal error, resolves #40190