Question: how many electrons are present in the bonding mo orbital of h2?
Answer: Only at this stage, after setting up the energy-level diagram, are the electrons introduced. In accord with the Pauli exclusion principle, at most two electrons can occupy any one orbital. In H2 there are two electrons, and, following the building-up principle, they enter and fill the lower-energy bonding combination.