Turing Tumble Community

A marble dispenser (help needed)

Could somebody help me with this?
My sister has asked me for help with a marble dispenser and so I made it, but I came up with the idea to make it so that you could choose the colour AND the amount (1 or 2). I got no farther than choosing the amount (with colours mixed) or choosing the amount and colour, but blue needed two triggers for 2 balls output. Here are the two different mechanisms that I figured out:

try using 6 bits as inputs which lead into a reflector which the balls get stuck in until another ball comes into it or you move a cog.