This version of Unity is unsupported.

Animation.GetClipCount

Switch to Manual
public int GetClipCount();

Description

Get the number of clips currently assigned to this animation.