5 bit binary counter

go to ti.com and look for cmos counter.
chip like 74HC4040 will do, is 14 bits.
you can find smaller ones, like 8 bit.
or use a 4 bit and add another flip-flop for bit 5.