NVIDIA interview question

Design a counter in Verilog.