Since the value of hc = 1240 eV nm
Energy corresponding to λ = 300 nm is 1240 eV nm300 nm=4.134 eV
Elements having ϕ < 4.134 eV will show photoelectric effect, are Li, Na, K, and Mg ⇒ 4
So, number of metals showing photo-electric will be four i.e., Li, Na, K, and Mg.