Limit form submission to a certain number

I would be really a nice idea! Thanks to that, Hubsot will be able to support us for an event registration or a limited distribution