Add counts to flags view