Template:Enum item count/doc

This template inserts an enum's number of items. For example,  produces. It takes one positional argument, which is the name of the enum. If the parameter is not specified, it uses the current page's name.

TemplateData
{	"params": { "1": {			"label": "Enum", "description": "Name of the enumeration", "example": "SurfaceType", "type": "line" }	},	"description": "Insert the number of items of an enum", "format": "inline" }