layout: add a visitor flag counter