SW-420 Vibration Sensor

How to measure the vibration frequency from SW-420 vibration sensor?

1/(time between contact closures)