Moved flag counter