Answer
Please see the work below.
Work Step by Step
We know that the electronic configuration of Br is given as
$1s^2,2s^22p^6,3s^23p^6,4s^23d^{10}4p^5$.
The electrons with highest quantum number are $4s^24p^5$.Hence, Br has seven valence electrons.