public int getSize() {
        return this.groups.size();
    }
Gets the number of groups on this track

@return the number of groups on this track
common/src/main/java/me/lucko/luckperms/common/model/Track.java