# Measuring beats/bounce in a closed cubed glass

Suppose that we have a $2$ by $2$ by 2 $cm^3$ closed box, made up of glass, with thickness $0.1 cm$. Yes, it is a very small box. Let's say in that box there is a ball (also made with glass) with diameter $0.5 cm$. If we shake the box as fast as we can for one minute, making the ball bouncing like crazy inside the box, how do we measure (exactly or approximately) how many times the ball bounces/makes contact with one out of the six sides of the cube?

I never heard of any device that can do this. The closest ones are vibration meter and drumometer, I believe? However, it looks like vibrameter does not measure the number of bounces and drumometer is, well, too huge? Perhaps we need a mini drumometer? I mean, whatever that device is, does that mean a very small sensor that is connected to the device must be put into that side of the cube?

Also, since the stuffs are made with glass, meaning they produce sound, can we measure the bounce by measuring (from the outside) the sound made from the shaking? My guess is that a device called sound level meter is what we need but it still won't count the bounce?

Note: Please correct my tags/title if needed as I have very little engineering background.

Additional question: What if (instead of one particular face) we measure the number of impacts coming from any face of the cube? Well, in this case, we don't need cube, but it can be a ball-shaped glass large enough to contain the small one.