How many end devices can I connect to a ConnectPort X4 directly?

Would like to know how many end devices can I connect to a X4 gateway directly? I have about 50 TI cc2538 end devices and is going to join the network set up by X4 gateway. Based on my testing, I found only 10 devices can join the zigbee network.

Thanks,
Ke