Variable checking how many skills an actor knows

I need to set a variable to an amount of skills an actor knows.
Something equivalent to "$gameActors.actor(1).skills().length" in MV.
ok, I got it - it's $game_actors[1].skills.size

Kudos to blesstama from r/rpgmaker discord
Replace 1 with the given actor's ID and you're good to go.

Original thread: https://forums.rpgmakerweb.com/threads/variable-checking-how-many-skills-an-actor-knows.174951/