The 8-pin device, using an external crystal, has four GPIOs, one of which must be an input. That would be one input for the pushbutton and three outputs for the LEDs.
The 14-pin device, using an external crystal, has ten GPIOs, one of which must be an input. That would be one input for the...