This is the simple circuit on Hobby Electronics. In this circuit three modules are used in object counter. 555 timer are used as a monostable mode and astable mode. The other is counter module.
In this circuit 555 timer configured as a monostable mode, is a simple automatic dark sensor circuit that gives output when light falling is blocked on LDR. Pin 3 of monostable circuit has been connected to pin 4 of astable timer. When monostable circuit generates output, astable mode timer starts giving pulses to the counter module. Frequency for counter module is set up using R4, R3 and C2.
7490 acts as a decade counter and 7447 uses the output of 7490 to display numbers on seven segment display. This circuit counts from 0 to 9. You can count 0 to 100 modifying counter module circuit. Just adding few components as well as two counter ic, two display driver and two display. For count 0 to 100, comments on the comments box. You will get complete circuit.
The output will be: If you block light falling on LDR, the number on seven segment display will increase.