Save accumulated tag count in database