Assigning modules from a library to a server where the number of modules can change?

I need to create a design for an internal tool that we will try to utilize within our own team that works with software testing. We will try to build a tool that can help us automatically setup a test system.

I have a list of servers that I want to add multiple modules to. I want to set a number on each module so it will be instantiated that many times in the server. I want to pick the modules from a library of modules displayed to the user.

Is it possible to combine drag and drop from the library to the server and at the same time apply the number of that specific module I want? Please see attached wireframe.

enter image description here