def verbose_name_for_count(count, model_meta):
    """
    Template tag similar to the pluralize filter but for model verbose names.

    Picks verbose_name or verbose_name_plural from a model _meta object based on a count passed
    in.

    Usage example (in a template):

      {% verbose_name count model_opts %}
    """
    return model_meta.verbose_name if count == 1 else model_meta.verbose_name_plural