This version of Unity is unsupported.

HumanTrait.BoneCount

public static int BoneCount;

Description

The number of human bone types defined by Mecanim.

See Also: HumanTrait.BoneName.