Edited number of states