I just picked a random number, as the number of output features shouldn’t make a difference.
Also, since my small code snippet is running fine, please feel free to add any code snippets to it, which would reproduce your issue.