hey there saw this and thought i could help with a "trigger",
you can make it very easy and use a microswitch (like the one in your washing machine lid) at the bottom of your cups or oenings, when the ball goes over them they will close giving a count
the second item that will require some...