Added a state count constant.