def form_counts(self):
    try:
      return int(self.data[ self.add_prefix('next_form_id') ])
    except KeyError:
      return self.fields['next_form_id'].initial
form_counts() -> The max number of forms, some could be non-existent (deleted).
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/django_forms.py/ManagementForm.form_counts