Version: 2018.2

TerrainData.treeInstanceCount

Switch to Manual
public int treeInstanceCount ;

Description

Returns the number of tree instances.