Number of Trees in Terrain

Hello everyone,
I’m new to unity and still learning. I just created a terrain and painted a lot of tress using place trees option (each tree has a collider attached). However, I came to know that, in a single scene there can be maximum around 64000 colliders.

Is there any way to know how many trees has been painted in the terrain?

You can use the TerrainData.treeInstances to get the array of all the tree instances placed in the terrain. The length of this array will be the total number of trees placed in the terrain.