Valence shell count of order 5