language_state_count function

Language state count