Number card with python method: include link?

I noticed that when I create a number card using the standard 'DocType" type, then it includes a link to that doctype. However, when I create one with the custom method by specifying a Python method, then there is no link.

Is there a way to return a link to the specified doctype (or any other link) in the card when I create a Number Card via Method?

from frappe import _

@frappe.whitelist()
def get_number_card_data():
    current_user = frappe.session.user

    count = frappe.db.count(
        "Task",
        filters={
            "status": ["not in", ["Template", "Completed", "Cancelled"]],
            "_assign": ["like", f"%{current_user}%"]
        }
    )

    return {
        "value": count,
        "fieldtype": "Int",
        "label": _("My Open Tasks")
    }