Question: how to determine how many valence electrons a compound has?
Answer: The number of valence electrons for molecules can be calculated by adding the valence electrons of all the atoms that form that respective molecule. 2⋅1+1⋅6=8 valence electroncs.