Webform timeslot

Would it be possible to make a counter how many names where
submitted and limit the form submission to 9 people?

I have to make a timeslot reservation, people kan choose between 9-11 10-12 12-14 etc.
but each timeslot can only have 9 people, if more then 9 people you can not submit anymore.