how much valence electrons does CH4 have

The molecule CH4, which represents methane, has a total of 8 valence electrons.