'Returns the number of forms that are required in this FormSet.'

def initial_form_count(self):

    if self.is_bound:
        return self.management_form.cleaned_data[INITIAL_FORM_COUNT]
    else:
        initial_forms = (len(self.initial) if self.initial else 0)
    return initial_forms
