Hi,
it might be a bit tricky and not what it's designed for. But you might be able to add a form validation rule that would just check the number of records in the table:
See API examples: docs.kentico.com/api12sp/.../Formdata-Loadingdatarecordsfromaform
`ObjectQuery<BizFormItem> data = BizFormItemProvider.GetItems(formClassName);`
And just count the records. You might want to include a specific event ID or such so you can reuse the same form. Or perhaps include another addition.
Alternatively it might be wise to just build this as a custom module with classes representing the events and attendees.