Gunoi Nare uploaded a circuit using the built-in "Counter" logic device.
Many of the logic devices require parameters, which you must attach or add to the device.? To add a parameter, right-click on the part, then type the desired parameter and its value, in the Value, Value2, SpiceLine, or SpiceLine2 fields.
The Counter device was not documented in the LTspice "Help" pages.? It was added somewhat recently to LTspice.? It is "documented" in a webpage about "undocumented LTspice", here:
According to that page, you have to provide at least the parameter named "Cycles", to tell the counter how many cycles to count.? Without that, the counter doesn't know what to do.
For example, right-click on the counter symbol, then click on the Value line (until you can type there), and type something like this:
cycles=4
Then press OK.
See the LTspice Help page for A-devices, to see some of the other common parameters for these logic devices (input levels, output levels, prop. delays, etc.).? By default these parts use 0V/1V levels.? You can list more than one parameter on the same line, such as: