update trackCount when adding an animation using addAnimation to a new track.