{
    "LEN": {
        "summary": "Returns the number of entries in the specified type of command log.",
        "complexity": "O(1)",
        "group": "server",
        "since": "8.1.0",
        "arity": 3,
        "container": "COMMANDLOG",
        "function": "commandlogCommand",
        "command_flags": [
            "ADMIN",
            "LOADING",
            "STALE"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_NODES",
            "RESPONSE_POLICY:AGG_SUM",
            "NONDETERMINISTIC_OUTPUT"
        ],
        "reply_schema": {
            "type": "integer",
            "description": "Number of entries in the command log.",
            "minimum": 0
        },
        "arguments": [
            {
                "name": "type",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "slow",
                        "type": "string"
                    },
                    {
                        "name": "large-request",
                        "type": "string"
                    },
                    {
                        "name": "large-reply",
                        "type": "string"
                    }
                ]
            }
        ]
    }
}
