Are you referring to Gothic 3?

If you are, the only way to sell a certain number of items is to double-click an item, which will drag the whole number of that item into the sell box. Then, keep right-clicking to remove the item one by one until you reach the number of items you want to sell. That's the only method I know of.
