Added number of states to enum.