Button pressed once, counted 5 times
A button on a FALLING interrupt counts 3 or 7 presses for one. Contact bounce as measured by Jack Ganssle, the ESP32 internal pull-up, the RC filter and the 74HC14 Schmitt trigger with the delay calculation, then software debouncing by sampling. Demo: one press, four counters.