Arm Interview Question

Can you write a VHDL implementation of a counter?