This version of Unity is unsupported.

LocalKeywordSpace.keywordCount

public uint keywordCount;

Description

The number of local shader keywords in this local keyword space. (Read Only)

This property enables you to query the number of local shader keywords in this LocalKeywordSpace without any allocations.

Additional resources: Shader variants and keywords, LocalKeyword, GlobalKeyword, ComputeShader.keywordSpace, Shader.keywordSpace.