Version: 2017.3

Animator.parameterCount

Switch to Manual
public int parameterCount ;

Description

Returns the number of parameters in the controller.