use this:
```php
$this->container->getParameter('count_dreams_on_home_page');
```