              return plural_suffix
      except ValueError:  # Invalid string that's not a number.
          pass
      except TypeError:  # Value isn't a string or a number; maybe it's a list?
          with suppress(TypeError):  # len() of unsized object.
              if len(value) != 1:
                  return plural_suffix
      return singular_suffix
  
  
 
</s> remove                 # String may not contain a placeholder for the number.
                with suppress(TypeError):
 </s> add                 try:
        try:
              return plural_suffix
      except ValueError:  # Invalid string that's not a number.
          pass
      except TypeError:  # Value isn't a string or a number; maybe it's a list?
        try:
              if len(value) != 1:
                  return plural_suffix
      return singular_suffix
  
  
keep keep keep keep replace keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/template/defaultfilters.py