The Lewis dot structure representing chloroform (CCl3H) has valence electrons surrounding all chlorines and the central carbon. The lone hydrogen will have dots only on one side with the other three open. The Lewis dot structure is: H.. .. ..:C:C:Cl: .. .. .. :C: ..
Each atom of a halogen has seven valence electrons, so that a simple answer would be 4 X 7 or 28. However, ClF3 is a compound rather than an element, and compounds are not usually considered to have valence electrons at all; that is a property of atoms.
The Lewis dot structure for ClO2 has one double bond and one single bond. This means that the number of valence electrons is 14.
C and Cl are the centers, C has 3 H's bonded to it, Cl has one H, and Cl has 2 unbonded pairs of electrons as well.
There are 24 Valence e- in C2H2Cl2
14