Version: 2017.2

Animator.GetCurrentAnimatorClipInfoCount

Switch to Manual
public int GetCurrentAnimatorClipInfoCount (int layerIndex);