This version of Unity is unsupported.

Shader.GetPropertyCount

Switch to Manual
public int GetPropertyCount();

Description

Returns the number of properties in this Shader.