# How to measure number of strokes in a small space

I have read about a device called drumometer, which measures the number of strokes of hitting drum stick.

I think this is almost the same, but instead, I would like to measure the number of strokes/impacts made when I shake a very small object inside a very small container.

To give an example, imagine a cube where one face is removed, hence making a hole. Then, I put the end (say X) of a stick inside that cube and hold the other end (say Y) from outside. I then start vibrating (I mean like stirring movement) the stick so that the X end hits all faces of the cube. Then I want to measure how many times the X end of that stick hits not necessarily all faces but at least one face (since I will shake it randomly anyway).

The cube could be as small as 1 cm^3 (it might not even be a cube, just something with a hole that small where a stick can be put inside and shook from outside), and the stick is just long enough for me to hold it and small enough to get through the hole.

Thus, in relation with that drumometer, it kinda looks like an even smaller "drumometer" is needed. What do you think?

I don't have good background in measurement, only have some elementary freshmen undergraduate physics background instead. This is gonna be very helpful in my experiment once I know how to measure the number of strokes. *feel free to edit my tags if not related