Valence shell count of order 3