Model::GetStateCount

Get the number of states in the model.