small performance tweak for the hints to counts