Dual seven segment display

You only need nine pins if you multiplex the displays:

You probably won't need the cathode drivers for an AVR