Question: how to determine how many electrons are in an orbital?
Answer: Add two electrons for each of the orientations to the previous electron sum. This is the total number of electrons an atom can contain up through this orbital. For example, since 30 + 2 + 2 = 34, an atom with a valence shell described by the numbers 4,1,0 holds a maximum of 34 electrons.