Circuit is done as shown in the diagram.
A four digit UP counter module designed using CD4026 ICs which can be used to count from 0 to 9999. Count will increment in each LOW to HIGH pulses applied at the CLK input of counter module. Module can be used to count motion easily by connecting a PIR motion sensor directly to the module. No programming required.
0 -9999 counter without RESET option from Arduino, Circuit and program : https://haberocean.com/2020/03/0-9999-counter-module-using-arduino-uno/
0 -9999 counter with RESET option from Arduino, Circuit and program : https://haberocean.com/2020/03/0-9999-up-counter-with-reset-from-arduino-uno/
Motion counter using PIR motion sensor and 4 digit UP counter module : https://haberocean.com/2020/08/motion-counter-using-pir-motion-sensor-and-4-digit-up-counter-module-using-cd4026/
Watch the video demonstration to see the working.