sum length of self.quertset and integer 1 if self.field.empty_label is not None, or integer 0 if not, return the result.
return ( len ( self . queryset ) + ( 1 if self . field . empty_label is not None else 0 ) )