Arduino Ethernet, how many digital pins can be used?

So when uploading sketches I need to disconnect whatever may be connected to pins 0 and 1?

Yes, and then in the sketch, you can't use Serial.xxx().