This was just added in the latest version (2022.06.08). It might only be available on the Dev Branch right now.
Returns the amount of animations (not to be confused with sequences) the entity's model has. A sequence can consist of multiple animations.
See also Entity:GetAnimInfo