def METHOD_NAME(self, **kwargs):
    context = super().METHOD_NAME(**kwargs)
    # Add usage information to the context only if there is a single item
    if len(context["items"]) == 1:
        item_context = context["items"][0]
        item = item_context["item"]
        item_context.update(
            {
                "usage_count": (
                    ReferenceIndex.get_grouped_references_to(item).count()
                ),
                "usage_url": reverse(
                    item.snippet_viewset.get_url_name("usage"),
                    args=(quote(item.pk),),
                ),
            }
        )
    return context