Flavor number dependence of QCD at finite density by the complex Langevin method