Question: how many electrons are in the valence shell of a carbon atom?
Answer: Four covalent bonds. Carbon has four valence electrons and here a valence of four. Each hydrogen atom has one valence electron and is univalent.