arst_n is an external active-low reset. It must assert asynchronously and
deassert synchronously to clk, including for the counter state, not merely for
an auxiliary reset flag. After safe release, increment count on enabled clock
edges. Use no vendor primitives.
Return only the module, without markdown or explanation.
Write the complete module to /app/design.sv. Do not create or modify other files.