For anything else we need to know more details, you've told us nothing!.
How fast does it need to count?.
How high (or low) does it need to count?.
Does it need a display?.
What needs to happen when it overflows (or underflows)?.
What is the input signal like?.
What's it for?.