Should be something like this
```php
$form = new Form();
$form->setHydrator(new ObjectPropertyHydrator());

$form->add(array(
            'name' => 'main',
            'type' => 'Collection',
            'options' => array(
                'target_element' => $nestedFieldset,
                'count' => 2
            ),
));
```