A car enter when the outside sensor (top button) is set on, then the inside (bottom button) is set on, then the outside one si set off and then the inside one off. The counter increase. To decrease do the opposite.
If a car activate one of the sensor but does not go in or out the counter does not change