With Ticketed registration, to set a capacity limit for your ticket, go to your Event Dashboard, then Setup > Registration.
Click on the Tickets tab.
Here, you can set a maximum quantity available per ticket type.
At this time, you cannot set a total capacity across ticket types, but we are looking to add that feature in a future release.