Simple scripting question

Hey everyone.

I know that the tag _multiartist returns either 1 or 0 depending on the value of the primary artist. But is it possible to to know exactly how many artists are there? I’m trying to make a script that hinges on knowing if a song has 3 or more contributing artists into it