Version: 2017.1
public int rootTrackCount ;

Description

Returns the number of tracks at the root level of the timeline.

A root track refers to all tracks that occur at the root of the timeline. These are the outmost level GroupTracks, and output tracks that do not belong to any group.