All motherboards (except maybe a few really odd ones) have two IDE connections, which can host two IDE devices each. So, all motherboards can have up to four IDE devices.
If you need more, you can add an IDE controller card that gives you (usually) two more IDE connections. Some of these...