There should be a hardware limit to the number of connected clients, but it is usually a large number (for home use). Otherwise you can limit the number of connected clients from your router configutation either through DHCP Pool (number of addresses available to be issued to users), or an "connected clients" field where you can manually enter a number yourself.