No, chromium (Cr) does not have 4 valence electrons. Chromium is located in Group 6 of the periodic table. In general, elements in Group 6 (also known as Group VI or Group 16) tend to have 6 valence electrons.
However, chromium is an exception to this general rule. Chromium's electron configuration is [Ar] 3d⁵ 4s¹. It has a partially filled d subshell, which makes it more stable to promote one of the electrons from the 4s orbital to the 3d orbital, resulting in the electron configuration [Ar] 3d⁶ 4s⁰.
In this case, chromium has 6 valence electrons because the 4s electron is not considered a valence electron. The valence electrons in chromium are the five electrons in the 3d orbital. These valence electrons play a significant role in chromium's chemical behavior and its ability to form various compounds.