You can do it per service (SSID). There's a max clients threshold in the wlan settings (the first page in your SSID setup). Click advanced options at the bottom of the page to see it.
Don't think it's possible per AP.
Having said that, this generally isn't a good idea. What are you trying to achieve or prevent in real world terms?