Add tag counter for validation