Arduino Ethernet, how many digital pins can be used?

You could use an LCD with a I²C chip, only needs 2 pins. Thet are bit more expensive though.