It is useful to have a counter which can count in an upward sequence as well as in a downward sequence. Here is a Three-Flip-Flop Up-Down Counter which has this provision designed using J-K Flip-Flops available in Simulink.
All these digital implementations are trivial. Try some analog designs. Lets see a nice precision current mirror or something hard. My dog can design counters.