Count How many people fill the form

We would like to have feature as follow

  • count how many people has filled the form
  • if the count excess certain number (for example 100), then the form will be disabled

This feature is used for lottery/Raffle form or Promotion registration form with limited sign-up number