new flag counter