---
title: "Bugfix: Count the country leave types in the company setup"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793454832@main"
source: "Changelog/1.0.0/Bugfix-1793454832-CountTheCountryLeaveTypesInTheCompanySetup.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Count the country leave types in the company setup {#bugfix-1793454832}

## Description {#description}

`app:company:setup` reported "0 default entries created." although it had created the leave types of the country,
such as Mutterschutz, because it counted only the entries of the structure defaults. The event
`CompanyDefaultsSetUp` now carries a count that a listener raises with `created()`, the leave package reports the
types it created, and the command adds them to its own.

## Impact {#impact}

The message of the command is right. A package that listens to the event can report what it created the same way.
