there are no enough digital pins for that
There are. You can use the analog input pins as digital pins too. Numbered 14-19